gabiseabra / google-fonts-webpack-plugin

129 stars 44 forks source link

Examples for setup without html-webpack-plugin #32

Open juanca opened 5 years ago

juanca commented 5 years ago

I have successfully used this package with a project that was utilizing the html-webpack-plugin. Now, I want to reproduce this success with a project that does not use the html-webpack-plugin.

Is there an available example for this usage? I feel like it is missing from the README.

Would appreciate the help and further documentation.

koseduhemak commented 5 years ago

+1 have the same issue! Building fails with: Error: Plugin could not be registered at 'html-webpack-plugin-before-html-generation'. Hook was not found. BREAKING CHANGE: There need to exist a hook at 'this.hooks'. To create a compatibility layer for this hook, hook into 'this._pluginCompat'

axebox commented 5 years ago

I have the same problem.

Moskito89 commented 5 years ago

Mee too.

Silent-Jude commented 4 years ago

mee too , Error: Plugin could not be registered at 'html-webpack-plugin-before-html-generation'. Hook was not found. BREAKING CHANGE: There need to exist a hook at 'this.hooks'. To create a compatibility layer for this hook, hook into 'this._pluginCompat'.

masiorama commented 4 years ago

Same problem.

projectje commented 4 years ago

Idem

pmuller commented 4 years ago

Same here.

rationalthinker1 commented 4 years ago

Use this repo: https://github.com/beyonk-adventures/google-fonts-webpack-plugin