File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ function defaultExportDeprecation() {
4747 printedDefaultExportDeprecation = true ;
4848 console . error (
4949 "`import sass from 'sass'` is deprecated.\n" +
50- "Please use `import * as sass from 'sass'` instead."
50+ "Please use `import * as sass from 'sass'` instead." ,
5151 ) ;
5252}
5353
Original file line number Diff line number Diff line change 2828 },
2929 "scripts" : {
3030 "init" : " ts-node ./tool/init.ts" ,
31- "check" : " npm-run-all check:gts check:tsc" ,
31+ "check" : " npm-run-all check:gts check:tsc check:mjs " ,
3232 "check:gts" : " gts check" ,
3333 "check:tsc" : " tsc --noEmit" ,
34+ "check:mjs" : " prettier -0check **/*.mjs" ,
3435 "clean" : " gts clean" ,
3536 "compile" : " tsc -p tsconfig.build.json && cp lib/index.mjs dist/lib/index.mjs && cp -r lib/src/vendor/sass/ dist/lib/src/vendor/sass && cp dist/lib/src/vendor/sass/index.d.ts dist/lib/src/vendor/sass/index.m.d.ts" ,
36- "fix" : " gts fix" ,
37+ "fix" : " npm-run-all fix:ts fix:mjs" ,
38+ "fix:ts" : " gts fix" ,
39+ "fix:mjs" : " prettier --write **/*.mjs" ,
3740 "prepublishOnly" : " npm run clean && ts-node ./tool/prepare-release.ts" ,
3841 "test" : " jest"
3942 },
You can’t perform that action at this time.
0 commit comments