Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propshaft build does not work with NPM 9+ #2900

Open
jcoyne opened this issue Nov 15, 2022 · 0 comments
Open

Propshaft build does not work with NPM 9+ #2900

jcoyne opened this issue Nov 15, 2022 · 0 comments

Comments

@jcoyne
Copy link
Member

jcoyne commented Nov 15, 2022

Due to rails/jsbundling-rails#138

One can work around by manually running:

node_modules/.bin/esbuild  app/javascript/*.* --bundle --sourcemap --outdir=app/assets/builds --public-path=assets
node_modules/sass/sass.js ./app/assets/stylesheets/application.bootstrap.scss:./app/assets/builds/application.css --no-source-map --load-path=node_modules

in the .internal_test_app directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant