]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore: use `with` instead of `assert` in rollup.mjs (#2326)
authorVlad <negezor@gmail.com>
Mon, 5 Aug 2024 08:50:31 +0000 (19:50 +1100)
committerGitHub <noreply@github.com>
Mon, 5 Aug 2024 08:50:31 +0000 (10:50 +0200)
packages/router/rollup.config.mjs

index 52f591cfd3ac454c26f27ea686a26ed449a40550..d82c47954dfff4d4f992a57435d8215e1c3c404e 100644 (file)
@@ -6,7 +6,7 @@ import replace from '@rollup/plugin-replace'
 import resolve from '@rollup/plugin-node-resolve'
 import commonjs from '@rollup/plugin-commonjs'
 import chalk from 'chalk'
-import pkg from './package.json' assert { type: 'json' }
+import pkg from './package.json' with { type: 'json' }
 import terser from '@rollup/plugin-terser'
 
 const name = pkg.name