diff --git a/CHANGELOG.md b/CHANGELOG.md index 71ddc858a9..56bbbe9e4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ - Fix toolbar button state not updated in some cases - Narrower `BubbleTheme.tooltip` type - Fix `Selection.getBounds()` when starting range at end of text node +- Improve compatibility with esbuild # 2.0.0-rc.1 diff --git a/packages/quill/babel.config.js b/packages/quill/babel.config.js index 2658740917..847b088784 100644 --- a/packages/quill/babel.config.js +++ b/packages/quill/babel.config.js @@ -1,7 +1,10 @@ const pkg = require('./package.json'); module.exports = { - presets: ['@babel/preset-env', '@babel/preset-typescript'], + presets: [ + ['@babel/preset-env', { modules: false }], + '@babel/preset-typescript' + ], plugins: [ ['transform-define', { QUILL_VERSION: pkg.version }], './scripts/babel-svg-inline-import',