Skip to content

Commit fc5e7ea

Browse files
Stop using old 'import assertions' syntax that was removed in Node 22 (#540)
I haven't tested everything on Node 22 yet, but this should stop at least one way the build is broken in Node 22. Fixes #537.
1 parent 4f0430a commit fc5e7ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rollup.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import babel from 'rollup-plugin-babel';
2-
import pkg from './package.json' assert { type: 'json' };
2+
import pkg from './package.json' with { type: 'json' };
33

44
export default [
55
// browser-friendly UMD build

0 commit comments

Comments
 (0)