fix(pkg): enable declaration for for and webpack

This commit is contained in:
Pooya Parsa 2021-09-21 19:07:24 +02:00
parent 57f435a59f
commit 317fc55539
5 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import { defineBuildConfig } from 'unbuild'
export default defineBuildConfig({
declaration: false,
declaration: true,
inlineDependencies: true,
entries: [
'src/index'

View File

@ -1,7 +1,7 @@
import { defineBuildConfig } from 'unbuild'
export default defineBuildConfig({
declaration: false,
declaration: true,
entries: [
'src/index'
],

View File

@ -4,6 +4,7 @@
"repository": "nuxt/framework",
"license": "MIT",
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],

View File

@ -1,7 +1,7 @@
import { defineBuildConfig } from 'unbuild'
export default defineBuildConfig({
declaration: false,
declaration: true,
entries: [
'src/index',
'src/loaders/nuxt-setup-loader'

View File

@ -4,6 +4,7 @@
"repository": "nuxt/framework",
"license": "MIT",
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],