packages/components/vite.config.ts
@@ -20,14 +20,15 @@ external: Object.keys(pkg.peerDependencies), }, }, define: { 'process.env.NODE_ENV': JSON.stringify('production'), }, plugins: [ vue(), // jsx、tsx语法支持 vueJsx(), // removeConsole({ // external:['src/xlsx/index.ts'] // }), // removeConsole({}), viteStaticCopy({ targets: [ @@ -42,8 +43,6 @@ ], }), dts({ tsconfigPath: './tsconfig.json', }), dts(), ], });