Skip to content

Commit fafdd1c

Browse files
committed
Update npm scripts to use sass not node-sass
1 parent 2884129 commit fafdd1c

File tree

4 files changed

+4
-11101
lines changed

4 files changed

+4
-11101
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "digital-land-frontend-repo",
3-
"version": "0.2.2",
3+
"version": "0.2.3",
44
"description": "frontend components and assets for digital land",
55
"engines": {
66
"node": ">=16.0.0"
77
},
88
"scripts": {
99
"build:javascripts": "rollup --config rollup.config.js",
10-
"build:stylesheets": "node-sass digital_land_frontend/src/scss -o assets/stylesheets --include-path node_modules/govuk-frontend --include-path digital_land_frontend/templates",
10+
"build:stylesheets": "sass digital_land_frontend/src/scss:assets/stylesheets --load-path=node_modules/govuk-frontend --load-path=digital_land_frontend/templates",
1111
"clean:package": "rm -rf package/digital-land-frontend",
1212
"copy:images": "copyfiles 'digital_land_frontend/src/images/**/*.{png,ico}' package/digital-land-frontend/images --up 3",
1313
"copy:scss": "copyfiles 'digital_land_frontend/src/scss/**/*.scss' package/digital-land-frontend/ --up 3 && copyfiles 'digital_land_frontend/templates/components/**/*.scss' package/digital-land-frontend/ --up 2",

0 commit comments

Comments
 (0)