We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f373da6 commit 2988371Copy full SHA for 2988371
gulpfile.mjs
@@ -51,7 +51,10 @@ async function compileTs(modules = false) {
51
.pipe(
52
addVirtualFile({
53
fileName: 'package.json',
54
- text: JSON.stringify({type: modules ? 'module' : 'commonjs'}),
+ text: JSON.stringify({
55
+ type: modules ? 'module' : 'commonjs',
56
+ sideEffects: ['*.css', '*.scss'],
57
+ }),
58
}),
59
)
60
.pipe(dest(path.resolve(BUILD_DIR, modules ? 'esm' : 'cjs')))
0 commit comments