Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"picocolors": "^1.1.1",
"playwright-chromium": "^1.56.1",
"prettier": "3.6.2",
"rolldown": "^1.0.0-beta.46",
"rolldown": "^1.0.0-beta.47",
"rollup": "^4.43.0",
"simple-git-hooks": "^2.13.1",
"tsx": "^4.20.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"cross-spawn": "^7.0.6",
"mri": "^1.2.0",
"picocolors": "^1.1.1",
"tsdown": "^0.15.12"
"tsdown": "^0.16.1"
}
}
6 changes: 2 additions & 4 deletions packages/create-vite/tsdown.config.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
import path from 'node:path'
import url from 'node:url'
import { defineConfig } from 'tsdown'
import licensePlugin from '../vite/rollupLicensePlugin.ts'

const __dirname = path.dirname(url.fileURLToPath(import.meta.url))

export default defineConfig(() => ({
entry: ['src/index.ts'],
target: 'node20',
minify: true,
fixedExtension: false,
plugins: [
licensePlugin(
path.resolve(__dirname, './LICENSE'),
path.resolve(import.meta.dirname, './LICENSE'),
'create-vite license',
'create-vite',
'# License of the files in the directories starting with "template-" in create-vite\n' +
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-legacy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"acorn": "^8.15.0",
"fdir": "^6.5.0",
"picocolors": "^1.1.1",
"tsdown": "^0.15.12",
"tsdown": "^0.16.1",
"vite": "workspace:*"
}
}
1 change: 1 addition & 0 deletions packages/plugin-legacy/tsdown.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default defineConfig({
target: 'node20',
tsconfig: false, // disable tsconfig `paths` when bundling
dts: true,
fixedExtension: false,
hooks: {
async 'build:done'() {
validateAllDepsForRolldownViteIsIncluded()
Expand Down
4 changes: 2 additions & 2 deletions packages/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@
"postcss-modules": "^6.0.1",
"premove": "^4.0.0",
"resolve.exports": "^2.0.3",
"rolldown": "^1.0.0-beta.46",
"rolldown-plugin-dts": "^0.17.3",
"rolldown": "^1.0.0-beta.47",
"rolldown-plugin-dts": "^0.17.4",
"rollup-plugin-license": "^3.6.0",
"sass": "^1.93.3",
"sass-embedded": "^1.93.3",
Expand Down
Loading