We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c816cb5 commit 00fb193Copy full SHA for 00fb193
vite.config.ts
@@ -29,9 +29,7 @@ import dts from 'vite-plugin-dts'
29
export default (opts: { mode: "production" | "preview" }) => defineConfig({
30
plugins: [
31
react(),
32
- dts({
33
- include: ['lib']
34
- })
+ opts.mode !== 'preview' && dts({ include: ['lib'] })
35
],
36
base: opts.mode !== 'preview' ? '/' : '/react-expandable-grid/',
37
build: opts.mode !== "preview"
0 commit comments