Use proper task name for inclusion in Rails

This commit is contained in:
Andreas Nedbal 2023-01-05 14:52:34 +01:00
parent f3af095ce5
commit 0fa9d9b861
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
web: unset PORT && bin/rails server web: unset PORT && bin/rails server
worker: bundle exec sidekiq worker: bundle exec sidekiq
css: yarn build:css --watch css: yarn build:css --watch
js: yarn build:js --watch js: yarn build --watch

View file

@ -2,7 +2,7 @@
"scripts": { "scripts": {
"lint": "yarn run eslint --ext .ts app/javascript", "lint": "yarn run eslint --ext .ts app/javascript",
"lint:fix": "yarn run eslint --ext .ts app/javascript --fix", "lint:fix": "yarn run eslint --ext .ts app/javascript --fix",
"build:js": "esbuild app/assets/javascript/*.* --bundle --sourcemap --outdir=app/assets/builds --public-path=assets", "build": "esbuild app/assets/javascript/*.* --bundle --sourcemap --outdir=app/assets/builds --public-path=assets",
"build:css": "sass ./app/assets/stylesheets/application.sass.scss:./app/assets/builds/application.css --no-source-map --load-path=node_modules" "build:css": "sass ./app/assets/stylesheets/application.sass.scss:./app/assets/builds/application.css --no-source-map --load-path=node_modules"
}, },
"dependencies": { "dependencies": {