mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-19 01:45:53 +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'
|
import { defineBuildConfig } from 'unbuild'
|
||||||
|
|
||||||
export default defineBuildConfig({
|
export default defineBuildConfig({
|
||||||
declaration: false,
|
declaration: true,
|
||||||
inlineDependencies: true,
|
inlineDependencies: true,
|
||||||
entries: [
|
entries: [
|
||||||
'src/index'
|
'src/index'
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { defineBuildConfig } from 'unbuild'
|
import { defineBuildConfig } from 'unbuild'
|
||||||
|
|
||||||
export default defineBuildConfig({
|
export default defineBuildConfig({
|
||||||
declaration: false,
|
declaration: true,
|
||||||
entries: [
|
entries: [
|
||||||
'src/index'
|
'src/index'
|
||||||
],
|
],
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
"repository": "nuxt/framework",
|
"repository": "nuxt/framework",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "./dist/index.cjs",
|
"main": "./dist/index.cjs",
|
||||||
|
"types": "./dist/index.d.ts",
|
||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { defineBuildConfig } from 'unbuild'
|
import { defineBuildConfig } from 'unbuild'
|
||||||
|
|
||||||
export default defineBuildConfig({
|
export default defineBuildConfig({
|
||||||
declaration: false,
|
declaration: true,
|
||||||
entries: [
|
entries: [
|
||||||
'src/index',
|
'src/index',
|
||||||
'src/loaders/nuxt-setup-loader'
|
'src/loaders/nuxt-setup-loader'
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
"repository": "nuxt/framework",
|
"repository": "nuxt/framework",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "./dist/index.cjs",
|
"main": "./dist/index.cjs",
|
||||||
|
"types": "./dist/index.d.ts",
|
||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user