Nuxt/packages/webpack/build.config.ts
Anthony Fu e13baf9867
feat(nuxt3): remove <script setup> transform and prefer top level await (#579)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-09-30 20:19:55 +02:00

25 lines
450 B
TypeScript

import { defineBuildConfig } from 'unbuild'
export default defineBuildConfig({
declaration: true,
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'
]
})