Skip to content

Commit 41bd1fc

Browse files
authored
Remove empty .css.js files generated by bundlers (#4076)
1 parent 739e823 commit 41bd1fc

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- **Clipboard** Support pasting links copied from iOS share sheets
55
- Fix config parsing where undefined values were kept
66
- Expose types for Quill options
7+
- Remove empty .css.js files generated by bundlers
78

89
# 2.0.0-rc.3
910

packages/quill/scripts/build

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ mv $TMPDIR/src/* $DIST
1313
rm -rf $TMPDIR
1414
npx babel src --out-dir $DIST --copy-files --no-copy-ignored --extensions .ts --source-maps
1515
npx webpack -- --mode $1
16+
# https://github.com/webpack-contrib/mini-css-extract-plugin/issues/151
17+
rm -rf $DIST/dist/*.css.js $DIST/dist/*.css.js.*
1618
cp package.json $DIST
1719
cp README.md $DIST
1820
cp LICENSE $DIST

0 commit comments

Comments
 (0)