Skip to content

Commit 285e5d0

Browse files
build: update Rollup to v4
1 parent f4e7e54 commit 285e5d0

File tree

7 files changed

+977
-625
lines changed

7 files changed

+977
-625
lines changed

eslint.config.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ module.exports = [
6060
{
6161
files: [
6262
'lib/nodejs/esm-utils.js',
63-
'rollup.config.js',
63+
'rollup.config.mjs',
6464
'scripts/*.mjs',
65-
'scripts/pick-from-package-json.js',
65+
'scripts/pick-from-package-json.mjs',
6666
'test/compiler-cjs/test.js'
6767
],
6868
languageOptions: {
@@ -171,7 +171,10 @@ module.exports = [
171171
'out/**',
172172
'test/integration/fixtures/**',
173173
'.karma/**',
174-
'mocha.js'
174+
'mocha.js',
175+
// TODO: EsLint v8 parser can't parse Import attributes
176+
'rollup.config.mjs',
177+
'scripts/pick-from-package-json.mjs'
175178
],
176179
}
177180
];

karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const baseConfig = {
5252
rollupPlugin
5353
],
5454
rollup: {
55-
configFile: 'rollup.config.js',
55+
configFile: 'rollup.config.mjs',
5656
include: ['test/**']
5757
},
5858
reporters: ['mocha'],

0 commit comments

Comments
 (0)