diff --git a/rollup.config.js b/rollup.config.js index 753391cb..f6737cd1 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -2,6 +2,10 @@ import ts from 'rollup-plugin-ts' import nodeResolve from '@rollup/plugin-node-resolve' import commonjs from '@rollup/plugin-commonjs' +// These two transient dependencies are still CommonJS: +// 'node_modules/emoji-regex/index.js', +// 'node_modules/eastasianwidth/eastasianwidth.js' + const output = { format: 'cjs', file: './build/index.cjs', @@ -16,12 +20,6 @@ export default { plugins: [ ts({ /* options */ }), nodeResolve(), - commonjs({ - include: [ - // These two transient dependencies are still CommonJS - 'node_modules/emoji-regex/index.js', - 'node_modules/eastasianwidth/eastasianwidth.js' - ] - }) + commonjs() ] }