Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
9 changes: 0 additions & 9 deletions build.config.ts

This file was deleted.

14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@
"dist"
],
"scripts": {
"build": "unbuild",
"dev:prepare": "unbuild --stub && pnpm -r dev:prepare",
"build": "rolldown -c",
"build:watch": "pnpm build -w",
"dev:prepare": "pnpm -r dev:prepare",
"example:build": "pnpm nuxt-module-build build ./example",
"example:stub": "pnpm nuxt-module-build build --stub ./example",
"lint": "eslint .",
Expand All @@ -48,13 +49,13 @@
"consola": "^3.4.2",
"defu": "^6.1.7",
"jiti": "^2.7.0",
"magic-regexp": "^0.11.0",
"mkdist": "^2.4.1",
"mlly": "^1.8.2",
"pathe": "^2.0.3",
"pkg-types": "^2.3.1",
"rolldown": "^1.1.0",
"rolldown-plugin-dts": "^0.25.2",
"tinyglobby": "^0.2.17",
"tsconfck": "^3.1.6",
"unbuild": "^3.6.1",
"vue-sfc-transformer": "^0.2.3"
},
"peerDependencies": {
Expand All @@ -65,6 +66,7 @@
"@arethetypeswrong/cli": "^0.18.3",
"@nuxt/cli": "^3.35.2",
"@nuxt/eslint-config": "^1.15.2",
"unbuild": "^3.6.1",
"@nuxt/schema": "~4.4.6",
"@types/node": "^24.12.4",
"@types/semver": "^7.7.1",
Expand All @@ -85,6 +87,6 @@
"vue-tsc": "^3.3.3"
},
"engines": {
"node": "^18.0.0 || >=20.0.0"
"node": "^22.18.0 || >=24.0.0"
}
}
372 changes: 337 additions & 35 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions rolldown.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { defineConfig } from 'rolldown'
import { dts } from 'rolldown-plugin-dts'

export default defineConfig({
input: [
'./src/cli.ts',
'./src/index.ts',
],
platform: 'node',
external: /^(?!\.|\/|[a-z]:[\\/])/i,
plugins: [
dts(),
],
output: {
entryFileNames: '[name].mjs',
chunkFileNames: '[name].mjs',
},
})
Loading