We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2edc4c6 commit cba92daCopy full SHA for cba92da
rollup.config.js
@@ -2,6 +2,10 @@ import ts from 'rollup-plugin-ts'
2
import nodeResolve from '@rollup/plugin-node-resolve'
3
import commonjs from '@rollup/plugin-commonjs'
4
5
+// These two transient dependencies are still CommonJS:
6
+// 'node_modules/emoji-regex/index.js',
7
+// 'node_modules/eastasianwidth/eastasianwidth.js'
8
+
9
const output = {
10
format: 'cjs',
11
file: './build/index.cjs',
@@ -16,12 +20,6 @@ export default {
16
20
plugins: [
17
21
ts({ /* options */ }),
18
22
nodeResolve(),
19
- commonjs({
- include: [
- // These two transient dependencies are still CommonJS
- 'node_modules/emoji-regex/index.js',
23
- 'node_modules/eastasianwidth/eastasianwidth.js'
24
- ]
25
- })
+ commonjs()
26
]
27
}
0 commit comments