Skip to content

Commit

Permalink
fix: added copyPublicDir: false to remove static assets on package
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosabu committed Dec 11, 2022
1 parent 16e9474 commit 7e8de9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/cientos/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export default defineConfig({
name: 'trescientos',
fileName: 'trescientos',
},
copyPublicDir: false,
watch: {
include: [resolve(__dirname, 'src')],
},
Expand Down
4 changes: 3 additions & 1 deletion packages/tres/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,17 @@ export default defineConfig({
watch: {
include: [resolve(__dirname, 'src')],
},
copyPublicDir: false,
rollupOptions: {
plugins: [
analyze(),
/* visualizer({
/* visualizer({
open: true,
gzipSize: true,
brotliSize: true,
}), */
],

external: ['vue', '@vueuse/core', 'three'],
output: {
exports: 'named',
Expand Down

0 comments on commit 7e8de9c

Please sign in to comment.