Skip to content

Commit c8af613

Browse files
committed
remove build step which deletes CSS files, no longer needed (thanks @camdecoster)
1 parent 7a6b267 commit c8af613

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tasks/util/bundle_wrapper.mjs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,6 @@ export default async function _bundle(pathToIndex, pathToBundle, opts, cb) {
4646

4747
addWrapper(pathToBundle);
4848

49-
if(pathToBundle.endsWith('.js')) {
50-
var len = pathToBundle.length;
51-
var cssOutput = pathToBundle.slice(0, len - 3) + '.css';
52-
53-
// remove unwanted css file
54-
if (fs.existsSync(cssOutput)) {
55-
fs.unlinkSync(cssOutput);
56-
}
57-
}
58-
5949
if(cb) cb();
6050
}
6151

0 commit comments

Comments
 (0)