Nuxt/packages/webpack/build.config.ts

29 lines
507 B
TypeScript

import { defineBuildConfig } from 'unbuild'
export default defineBuildConfig({
declaration: true,
emitCJS: false,
entries: [
'src/index'
],
dependencies: [
'@nuxt/kit',
'@vue/babel-preset-jsx',
'postcss',
'postcss-import-resolver',
'postcss-loader',
'babel-loader',
'vue-loader',
'css-loader',
'file-loader',
'style-resources-loader',
'url-loader',
'vue-style-loader',
'@babel/core',
'vue'
],
externals: [
'@nuxt/schema'
]
})