mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 13:38:18 -08:00
Switch from sprockets to cssbundling for bundling css assets.
This commit is contained in:
parent
4306f5c5d4
commit
12c1a3b7fc
14 changed files with 222 additions and 45 deletions
|
|
@ -10,11 +10,13 @@
|
|||
"babel-preset-es2015": "^6.24.1",
|
||||
"bootstrap": "^5.1.3",
|
||||
"esbuild": "^0.13.6",
|
||||
"sass": "^1.43.3",
|
||||
"turbolinks": "^5.2.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "esbuild app/javascript/*.* --bundle --outdir=app/assets/builds",
|
||||
"test": "jest"
|
||||
"test": "jest",
|
||||
"build:css": "sass ./app/assets/stylesheets/application.bootstrap.scss ./app/assets/builds/application.css --no-source-map --load-path=node_modules --watch & sass ./app/assets/stylesheets/sqm_application.scss ./app/assets/builds/sqm_application.css --no-source-map --load-path=node_modules --watch & sass ./app/assets/stylesheets/welcome.scss ./app/assets/builds/welcome.css --no-source-map --load-path=node_modules"
|
||||
},
|
||||
"devDependencies": {
|
||||
"jest": "^27.2.5"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue