Skip to content

Commit 5fa786c

Browse files
fnlctrlluin
andauthored
Preserve es modules in babel config (#4013)
Co-authored-by: Zihua Li <[email protected]>
1 parent cd3203f commit 5fa786c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
- Fix toolbar button state not updated in some cases
44
- Narrower `BubbleTheme.tooltip` type
55
- Fix `Selection.getBounds()` when starting range at end of text node
6+
- Improve compatibility with esbuild
67

78
# 2.0.0-rc.1
89

packages/quill/babel.config.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
const pkg = require('./package.json');
22

33
module.exports = {
4-
presets: ['@babel/preset-env', '@babel/preset-typescript'],
4+
presets: [
5+
['@babel/preset-env', { modules: false }],
6+
'@babel/preset-typescript'
7+
],
58
plugins: [
69
['transform-define', { QUILL_VERSION: pkg.version }],
710
'./scripts/babel-svg-inline-import',

0 commit comments

Comments
 (0)