Skip to content

Commit

Permalink
chore: refactor build
Browse files Browse the repository at this point in the history
  • Loading branch information
hemengke1997 committed May 7, 2024
1 parent 6ccccd7 commit c8038c3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 43 deletions.
2 changes: 1 addition & 1 deletion packages/istanbul-widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"rollup-plugin-visualizer": "^5.12.0",
"tailwindcss": "3.2.7",
"tailwindcss-rem-to-px": "^0.1.0",
"tsup-plugin-bundleless": "^0.0.1",
"tsup-plugin-bundleless": "^0.1.2",
"tsup-plugin-css-legacy": "^0.0.1",
"vite": "^5.2.10"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/istanbul-widget/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { type Options, defineConfig } from 'tsup'
import { bundless } from 'tsup-plugin-bundleless'
import { bundleless } from 'tsup-plugin-bundleless'
import { cssLegacy } from 'tsup-plugin-css-legacy'
import pkg from './package.json'

Expand Down Expand Up @@ -52,7 +52,7 @@ const es = (option: Options): Options => ({
outDir: 'dist/es',
splitting: false,
minify: false,
plugins: [bundless()],
plugins: [bundleless()],
})

export default defineConfig((option) => {
Expand Down
44 changes: 4 additions & 40 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c8038c3

Please sign in to comment.