Skip to content

Commit

Permalink
map removed
Browse files Browse the repository at this point in the history
  • Loading branch information
mrksbnc committed Nov 19, 2023
1 parent 3945e33 commit 5616de0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
8 changes: 0 additions & 8 deletions scripts/postbuild.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,13 @@ const WORKING_DIRECTORY = path.join(__dirname, '../dist');

const files_to_remove_on_root = [
'inter.es.js',
'inter.es.js.map',
'inter.cjs.js',
'inter.cjs.js.map',
'colors.es.js',
'colors.es.js.map',
'colors.cjs.js',
'colors.cjs.js.map',
'animation.es.js',
'animation.es.js.map',
'animation.cjs.js',
'animation.cjs.js.map',
'assistant.es.js',
'assistant.es.js.map',
'assistant.cjs.js',
'assistant.cjs.js.map',
'vite.config.d.ts',
'vitest.config.d.ts',
];
Expand Down
5 changes: 1 addition & 4 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { defineConfig, type UserConfig } from 'vitest/config';
const bambooLibConfig: UserConfig = defineConfig({
plugins: [vue(), dts()],
build: {
sourcemap: true,
minify: true,
cssCodeSplit: true,
lib: {
Expand All @@ -26,9 +25,7 @@ const bambooLibConfig: UserConfig = defineConfig({
},
},
rollupOptions: {
treeshake: {
preset: 'recommended',
},
treeshake: true,
external: ['vue'],
output: {
exports: 'named',
Expand Down

0 comments on commit 5616de0

Please sign in to comment.