mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 14:48:41 +00:00
chore: upgrade to unbuild v3 rc (#18502)
This commit is contained in:
parent
f97a57893b
commit
ddd5c5d00f
@ -23,7 +23,6 @@ export default defineBuildConfig({
|
||||
'rollup:options'(_ctx, options) {
|
||||
options.plugins = [
|
||||
options.plugins,
|
||||
// @ts-expect-error TODO: unbuild uses rollup v3 and Vite uses rollup v4
|
||||
licensePlugin(
|
||||
path.resolve(__dirname, './LICENSE'),
|
||||
'create-vite license',
|
||||
|
@ -39,6 +39,6 @@
|
||||
"minimist": "^1.2.8",
|
||||
"picocolors": "^1.1.1",
|
||||
"prompts": "^2.4.2",
|
||||
"unbuild": "^2.0.0"
|
||||
"unbuild": "^3.0.0-rc.11"
|
||||
}
|
||||
}
|
||||
|
@ -57,7 +57,7 @@
|
||||
"devDependencies": {
|
||||
"acorn": "^8.14.0",
|
||||
"picocolors": "^1.1.1",
|
||||
"unbuild": "^2.0.0",
|
||||
"unbuild": "^3.0.0-rc.11",
|
||||
"vite": "workspace:*"
|
||||
}
|
||||
}
|
||||
|
@ -177,7 +177,7 @@ describe.runIf(isBuild)('build tests', () => {
|
||||
const map = findAssetFile(/with-define-object.*\.js\.map/)
|
||||
expect(formatSourcemapForSnapshot(JSON.parse(map))).toMatchInlineSnapshot(`
|
||||
{
|
||||
"mappings": "qBAEA,SAASA,GAAO,CACJC,GACZ,CAEA,SAASA,GAAY,CAEX,QAAA,MAAM,qBAAsBC,CAAkB,CACxD,CAEAF,EAAK",
|
||||
"mappings": "qBAEA,SAASA,GAAO,CACJC,EAAA,CACZ,CAEA,SAASA,GAAY,CAEX,QAAA,MAAM,qBAAsBC,CAAkB,CACxD,CAEAF,EAAK",
|
||||
"sources": [
|
||||
"../../with-define-object.ts",
|
||||
],
|
||||
|
1617
pnpm-lock.yaml
1617
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user