Skip to content

Commit cc3b459

Browse files
authored
Ensure scss can be stripped out of the module build (#31)
1 parent 8dd6efe commit cc3b459

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rollup.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ const module = {
4444
},
4545
external: ['@playcanvas/observer', '@playcanvas/pcui'],
4646
plugins: [
47+
jscc({
48+
values: { _STRIP_SCSS: process.env.STRIP_SCSS }
49+
}),
4750
commonjs({ transformMixedEsModules: true }),
4851
globals(),
4952
builtins(),

0 commit comments

Comments
 (0)