Commit d142cb25 by lijiabin

【需求 17679】 fix: 修复打包bug

parent e0d3b4c8
......@@ -33,7 +33,7 @@ export default defineConfig({
}),
Components({
resolvers: [ElementPlusResolver()],
include: ['src/**/*.vue', 'src/**/*.tsx'],
include: [/\.vue$/, /\.vue\?vue/, /\.vue\.[tj]sx?\?vue/, /\.[tj]sx$/], // 支持tsx jsx vue文件 无script 和有script 编译后不一样 一个直接是sfc里面只有render 一个是 sfc 里面有render 和setup
dts: true,
}),
UnoCSS(),
......@@ -58,4 +58,7 @@ export default defineConfig({
},
},
},
build: {
minify: false,
},
})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment