file-include-webpack-plugin
file-include-webpack-plugin copied to clipboard
ability to require / include assets
we should be able to require images etc in html files and the plugin should be able to resolve that and update that in the build out put.
Like html-loader ? https://webpack.js.org/loaders/html-loader/
You need to implement an image optimizer like image-webpack-loader.
yes, like html-loader. Maybe a smaller version to start with. I'll look into image-webpack-loader and update more on my findings
Hello. You have developed a cool plugin, but I can't connect it and your example doesn't work. I am attaching a screenshot.
@IvanGrishov you'll need to run npm install in the root directory as well. That's because I'm referring to the plugin directly via src
folder instead of node_modules
of example.
@Vishal0203 thank you very much. Is there an example of using it with the HtmlWebpackPlugin plugin? Works without it but not with it.