Nuxt/packages/webpack/build.config.ts

29 lines
507 B
TypeScript
Raw Normal View History

import { defineBuildConfig } from 'unbuild'
2021-04-09 13:48:39 +00:00
export default defineBuildConfig({
declaration: true,
emitCJS: false,
2021-04-09 13:48:39 +00:00
entries: [
'src/index'
2021-04-09 13:48:39 +00:00
],
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'
2021-04-09 13:48:39 +00:00
]
})