mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
fix(pkg): enable declaration for for and webpack
This commit is contained in:
parent
57f435a59f
commit
317fc55539
@ -1,7 +1,7 @@
|
||||
import { defineBuildConfig } from 'unbuild'
|
||||
|
||||
export default defineBuildConfig({
|
||||
declaration: false,
|
||||
declaration: true,
|
||||
inlineDependencies: true,
|
||||
entries: [
|
||||
'src/index'
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { defineBuildConfig } from 'unbuild'
|
||||
|
||||
export default defineBuildConfig({
|
||||
declaration: false,
|
||||
declaration: true,
|
||||
entries: [
|
||||
'src/index'
|
||||
],
|
||||
|
@ -4,6 +4,7 @@
|
||||
"repository": "nuxt/framework",
|
||||
"license": "MIT",
|
||||
"main": "./dist/index.cjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { defineBuildConfig } from 'unbuild'
|
||||
|
||||
export default defineBuildConfig({
|
||||
declaration: false,
|
||||
declaration: true,
|
||||
entries: [
|
||||
'src/index',
|
||||
'src/loaders/nuxt-setup-loader'
|
||||
|
@ -4,6 +4,7 @@
|
||||
"repository": "nuxt/framework",
|
||||
"license": "MIT",
|
||||
"main": "./dist/index.cjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user