Skip to content

Commit

Permalink
👷 removed dts from preview build
Browse files Browse the repository at this point in the history
  • Loading branch information
temmiland committed Feb 17, 2024
1 parent c816cb5 commit 00fb193
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ import dts from 'vite-plugin-dts'
export default (opts: { mode: "production" | "preview" }) => defineConfig({
plugins: [
react(),
dts({
include: ['lib']
})
opts.mode !== 'preview' && dts({ include: ['lib'] })
],
base: opts.mode !== 'preview' ? '/' : '/react-expandable-grid/',
build: opts.mode !== "preview"
Expand Down

0 comments on commit 00fb193

Please sign in to comment.