Skip to content

Commit

Permalink
preserve esmodule for babel
Browse files Browse the repository at this point in the history
  • Loading branch information
fnlctrl committed Feb 15, 2024
1 parent cd3203f commit a9d933b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/quill/babel.config.js
Original file line number Diff line number Diff line change
@@ -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',
Expand Down

0 comments on commit a9d933b

Please sign in to comment.