Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitffac7e1

Browse files
authored
build: use tsdown (#626)
1 parentfe03fa2 commitffac7e1

File tree

9 files changed

+302
-1172
lines changed

9 files changed

+302
-1172
lines changed

‎eslint.config.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default tseslint.config(
4747
],
4848
'n/no-extraneous-import':[
4949
'error',
50-
{allowModules:['vite','less','sass','vitest','unbuild']},
50+
{allowModules:['vite','less','sass','vitest']},
5151
],
5252
'n/no-extraneous-require':['error',{allowModules:['vite']}],
5353
'n/no-deprecated-api':'off',

‎package.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
"tsx":"^4.20.3",
6161
"typescript":"^5.8.3",
6262
"typescript-eslint":"^8.35.1",
63-
"unbuild":"3.5.0",
6463
"vite":"catalog:",
6564
"vitest":"^3.2.4",
6665
"vue":"catalog:"

‎packages/plugin-vue-jsx/build.config.ts‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎packages/plugin-vue-jsx/package.json‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
"dist"
1515
],
1616
"exports": {
17-
".":"./dist/index.mjs",
17+
".":"./dist/index.js",
1818
"./package.json":"./package.json"
1919
},
2020
"scripts": {
21-
"dev":"unbuild --stub",
22-
"build":"unbuild",
21+
"dev":"tsdown --watch",
22+
"build":"tsdown",
2323
"prepublishOnly":"npm run build"
2424
},
2525
"engines": {
@@ -41,6 +41,7 @@
4141
"@vue/babel-plugin-jsx":"^1.4.0"
4242
},
4343
"devDependencies": {
44+
"tsdown":"^0.12.9",
4445
"vite":"catalog:"
4546
},
4647
"peerDependencies": {
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import{defineConfig}from'tsdown'
2+
3+
exportdefaultdefineConfig({
4+
entry:'src/index.ts',
5+
dts:true,
6+
})

‎packages/plugin-vue/build.config.ts‎

Lines changed: 0 additions & 11 deletions
This file was deleted.

‎packages/plugin-vue/package.json‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
"dist"
1515
],
1616
"exports": {
17-
".":"./dist/index.mjs",
17+
".":"./dist/index.js",
1818
"./package.json":"./package.json"
1919
},
2020
"scripts": {
21-
"dev":"unbuild --stub",
22-
"build":"unbuild",
21+
"dev":"tsdown --watch",
22+
"build":"tsdown",
2323
"prepublishOnly":"npm run build"
2424
},
2525
"engines": {
@@ -45,6 +45,7 @@
4545
"rollup":"^4.44.2",
4646
"slash":"^5.1.0",
4747
"source-map-js":"^1.2.1",
48+
"tsdown":"^0.12.9",
4849
"vite":"catalog:",
4950
"vue":"catalog:"
5051
},
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import{defineConfig}from'tsdown'
2+
3+
exportdefaultdefineConfig({
4+
entry:'src/index.ts',
5+
dts:true,
6+
})

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp