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
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@
"dist"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch src",
"build": "tsdown",
"dev": "tsdown -w",
"lint": "eslint .",
"play": "npm -C playground run dev",
"prepublishOnly": "npm run build",
Expand Down Expand Up @@ -131,7 +131,7 @@
"eslint": "^9.20.0",
"nodemon": "^3.1.9",
"rollup": "^4.34.6",
"tsup": "^8.3.6",
"tsdown": "^0.12.0",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
"vite": "^6.1.0",
Expand Down
1 change: 1 addition & 0 deletions playground/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"type": "module",
"private": true,
"scripts": {
"dev": "nodemon -w '../src/**/*.ts' -e .ts -x vite"
Expand Down
733 changes: 412 additions & 321 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { UnpluginFactory } from 'unplugin'
import type { UnpluginFactory, UnpluginInstance } from 'unplugin'
import type { Options } from './types'
import { createUnplugin } from 'unplugin'

Expand Down
1 change: 0 additions & 1 deletion src/nuxt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import type { Options } from './types'
import { addVitePlugin, addWebpackPlugin, defineNuxtModule } from '@nuxt/kit'
import vite from './vite'
import webpack from './webpack'
import '@nuxt/schema'

export interface ModuleOptions extends Options {

Expand Down
6 changes: 6 additions & 0 deletions tsdown.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { defineConfig } from 'tsdown'

export default defineConfig({
entry: ['src/*.ts'],
format: ['esm', 'cjs'],
})
12 changes: 0 additions & 12 deletions tsup.config.ts

This file was deleted.