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 b972b95 commit 54a63baCopy full SHA for 54a63ba
gulpfile.js
@@ -50,7 +50,9 @@ task('copy-js', () => {
50
'!src/stories/**/*.{js,d.ts}',
51
'!src/**/__stories__/**/*.{js,d.ts}',
52
])
53
+ .pipe(replace(/import '.+\.scss';/g, (match) => match.replace('.scss', '.css')))
54
.pipe(dest(path.resolve(BUILD_DIR, 'esm')))
55
+ .pipe(replace(/import '.+\.css';/g, ''))
56
.pipe(dest(path.resolve(BUILD_DIR, 'cjs')));
57
});
58
0 commit comments