Skip to content

Commit cafa782

Browse files
Lightning00Blademark-wiemerJoshuaKGoldberg
authored
chore: update Rollup to v4 (#5510)
Co-authored-by: Mark Wiemer <7833360+mark-wiemer@users.noreply.github.com> Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
1 parent 599ab01 commit cafa782

File tree

7 files changed

+974
-622
lines changed

7 files changed

+974
-622
lines changed

eslint.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ module.exports = [
6060
{
6161
files: [
6262
"lib/nodejs/esm-utils.js",
63-
"rollup.config.js",
63+
"rollup.config.mjs",
6464
"scripts/*.mjs",
6565
"scripts/pick-from-package-json.js",
6666
"test/compiler-cjs/test.js",
@@ -176,6 +176,9 @@ module.exports = [
176176
"test/integration/fixtures/**",
177177
".karma/**",
178178
"mocha.js",
179+
// TODO: ESLint v8 parser can't parse Import attributes
180+
"rollup.config.mjs",
181+
"scripts/pick-from-package-json.mjs",
179182
],
180183
},
181184
];

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)