Skip to content

Commit

Permalink
Remove empty .css.js files generated by bundlers (#4076)
Browse files Browse the repository at this point in the history
  • Loading branch information
luin authored Mar 23, 2024
1 parent 739e823 commit 41bd1fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- **Clipboard** Support pasting links copied from iOS share sheets
- Fix config parsing where undefined values were kept
- Expose types for Quill options
- Remove empty .css.js files generated by bundlers

# 2.0.0-rc.3

Expand Down
2 changes: 2 additions & 0 deletions packages/quill/scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ mv $TMPDIR/src/* $DIST
rm -rf $TMPDIR
npx babel src --out-dir $DIST --copy-files --no-copy-ignored --extensions .ts --source-maps
npx webpack -- --mode $1
# https://github.com/webpack-contrib/mini-css-extract-plugin/issues/151
rm -rf $DIST/dist/*.css.js $DIST/dist/*.css.js.*
cp package.json $DIST
cp README.md $DIST
cp LICENSE $DIST

0 comments on commit 41bd1fc

Please sign in to comment.