From: Vlad Date: Mon, 5 Aug 2024 08:50:31 +0000 (+1100) Subject: chore: use `with` instead of `assert` in rollup.mjs (#2326) X-Git-Tag: v4.4.3~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d1db18dc45fb24856a75a04dd868ddefcacc94c;p=thirdparty%2Fvuejs%2Frouter.git chore: use `with` instead of `assert` in rollup.mjs (#2326) --- diff --git a/packages/router/rollup.config.mjs b/packages/router/rollup.config.mjs index 52f591cf..d82c4795 100644 --- a/packages/router/rollup.config.mjs +++ b/packages/router/rollup.config.mjs @@ -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