Closed Sirius-KiH closed 2 years ago
when you start webpack does it use port 3035 ? I'm trying to debug a config quite similar
I am running into a similar problem as well.
I don't use the dev_server. For development I run bin/webpack --watch
and for deployment bundle exec rails webpacker:compile
, the problem persists with both commands. The issue isn't that the bundles are not compiled or not correctly entered into the manifest.json
, as on that side everything is how it should be.
Reading this : https://github.com/rails/webpacker/compare/v6.0.0.beta.7...a1778d7de53d64b7605ea8f49b61c3bdf86980a4
I understand the following:
In the end once everything is better webpacker will be a smaller wrapper to webpack-dev-server
Can you create a reproduction repo? Because everything seem to be working just fine with the files you provide
Thanks for closing this, in the end it did work for us but hard to explain exactly what is the change we made, we don't have the extract_css option in wepbacker. using rails webpacker:install
helped us cleaning up the configuration.
Using webpacker 6.0.0-rc5.
My
= stylesheet_pack_tag 'application', 'data-turbolinks-track': 'reload'
emits nothing, i.e. no link tag is being rendered.I have a folder structure like this:
The
application.scss
is properly picked up and compiled to the output directory. Mymanifest.json
looks like this:Webpacker config:
And finally, my
package.json
: