Closed duduribeiro closed 5 months ago
and I'm with 1.3.3
test_app % cat Gemfile.lock| grep cssbundling cssbundling-rails (1.3.3)
Can confirm this. Should #136 be reverted? That seems to focus on the output of the install script, but it means the actual package.json file has the wrong command.
Was directed here, can confirm this is still an issue. Replacing \\\"
with either '
or \"
makes the script work.
Does this only happen when you have bun
in your path? I tried generating a new app with rails new --css bootstrap
and I get the correct script added to my package.json (I don't have bun
):
"watch:css": "nodemon --watch ./app/assets/stylesheets/ --ext scss --exec \"yarn build:css\""
@skipkayhil - I do have bun
in my path.
Can confirm. Script is not correct, should remove triple "\\" from script.
that one works as expected:
"watch:css": "nodemon --watch ./app/assets/stylesheets/ --ext scss --exec \"bun run build:css\""
I've generated a new Rails 7.1.beta1 app with
this ended by generating the following content at package.json file:
this triple
\
looks weird for me and I got the following error when runningbin/dev
I THINK the desired output result for the package.json should have:
am I correct? Because when I update with this content, it works fine:
I see this was changed at: https://github.com/rails/cssbundling-rails/pull/136