webpack-plugin-critical
webpack-plugin-critical copied to clipboard
Don't work with publicPath options in webpack.output config
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/'}
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?
You can try this plugin