Skip to content

Commit 5054c47

Browse files
committed
updates to be compatible with higher node version
1 parent 83f12db commit 5054c47

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rollup.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import babel from '@rollup/plugin-babel';
44
import terser from '@rollup/plugin-terser';
55
import stripLogger from 'rollup-plugin-strip-logger';
66
import license from 'rollup-plugin-license';
7-
import pkg from './package.json' assert { type: 'json' };
7+
import pkg from './package.json' with { type: 'json' };
88

99
const bannerTemplate = `
1010
Bundle of <%= pkg.name %>

rollup.dev.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import babel from '@rollup/plugin-babel';
22
import commonjs from '@rollup/plugin-commonjs';
33
import { nodeResolve } from '@rollup/plugin-node-resolve';
4-
import pkg from './package.json' assert { type: 'json' };
4+
import pkg from './package.json' with { type: 'json' };
55
import html from 'rollup-plugin-template-html';
66
import serve from 'rollup-plugin-serve';
77

0 commit comments

Comments
 (0)