Skip to content

Commit ca3ae5c

Browse files
committed
Use import attributes instead of import assertions
1 parent 9b48d04 commit ca3ae5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rollup.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import json from '@rollup/plugin-json';
33
import { string } from 'rollup-plugin-string';
44
import commonjs from '@rollup/plugin-commonjs';
55
import terser from '@rollup/plugin-terser';
6-
import pkg from './package.json' assert { type: 'json' };
6+
import pkg from './package.json' with { type: 'json' };
77
import dayjs from 'dayjs';
88
import { visualizer } from 'rollup-plugin-visualizer';
99
import replace from '@rollup/plugin-replace';

0 commit comments

Comments
 (0)