Skip to content

Commit 53bdf23

Browse files
committed
chore: remove common styles folder before running SASS build
- this will hopefully fix the flaky SASS build issue: sass:bundle: Error reading dist/styles/css: file already exists.
1 parent 6c1f807 commit 53bdf23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"build:incremental": "tsc --incremental --declaration",
3737
"clean": "remove dist tsconfig.tsbuildinfo",
3838
"dev": "node build-watch.mjs",
39-
"sass:bundle": "pnpm run sass:build && pnpm run sass:copy",
39+
"sass:bundle": "remove dist/styles && pnpm run sass:build && pnpm run sass:copy",
4040
"sass-build-task:scss-compile:default": "sass src/styles/slickgrid-theme-default.scss dist/styles/css/slickgrid-theme-default.css --style=compressed --quiet-deps --no-source-map --load-path=node_modules",
4141
"sass-build-task:scss-compile:default-lite": "sass src/styles/slickgrid-theme-default.lite.scss dist/styles/css/slickgrid-theme-default.lite.css --style=compressed --quiet-deps --no-source-map --load-path=node_modules",
4242
"sass-build-task:scss-compile:bootstrap": "sass src/styles/slickgrid-theme-bootstrap.scss dist/styles/css/slickgrid-theme-bootstrap.css --style=compressed --quiet-deps --no-source-map --load-path=node_modules",

0 commit comments

Comments
 (0)