webpack-plugin-critical icon indicating copy to clipboard operation
webpack-plugin-critical copied to clipboard

Don't work with publicPath options in webpack.output config

Open anagami opened this issue 7 years ago • 2 comments

Hi when run plugin, get error:
Error: ENOENT: no such file or directory, open 'work\app\mobile_react\build\public\app.64bf413a44b79423abb4.css'

in my webpack config has this options output: {publicPath: '/public/'}

[email protected]

anagami avatar Nov 29 '17 07:11 anagami

I'm having a similar issue where my publicPath is being added onto the url, preventing the file from being found. If I remove the publicPath entry it works but the app needs that line. Any thoughts on what we might need to change?

stooobot avatar Jan 03 '18 13:01 stooobot

You can try this plugin

lili21 avatar Feb 07 '18 11:02 lili21