Skip to content

Commit

Permalink
Stop using old 'import assertions' syntax that was removed in Node 22 (
Browse files Browse the repository at this point in the history
…#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.
  • Loading branch information
ExplodingCabbage authored Aug 13, 2024
1 parent 4f0430a commit fc5e7ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import babel from 'rollup-plugin-babel';
import pkg from './package.json' assert { type: 'json' };
import pkg from './package.json' with { type: 'json' };

export default [
// browser-friendly UMD build
Expand Down

0 comments on commit fc5e7ea

Please sign in to comment.