mirror of
https://github.com/dzeiocom/components.git
synced 2025-04-22 10:52:16 +00:00
fix: Build considering index.ts as an external deps
Signed-off-by: Avior <github@avior.me>
This commit is contained in:
parent
261f00805b
commit
d8995ed9e0
@ -33,7 +33,6 @@
|
|||||||
"@dzeio/object-util": "^1",
|
"@dzeio/object-util": "^1",
|
||||||
"typescript": "^4",
|
"typescript": "^4",
|
||||||
"lucide-react": "^0.88.0",
|
"lucide-react": "^0.88.0",
|
||||||
"production": "^0.0.2",
|
|
||||||
"vite": "^3"
|
"vite": "^3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,7 @@ export default defineConfig({
|
|||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
// externalize deps that shouldn't be bundled
|
// externalize deps that shouldn't be bundled
|
||||||
// into your library
|
// into your library
|
||||||
external: ['react', 'react-dom', /next/gu, ...external],
|
external: ['react', 'react-dom', /^next/gu, ...external],
|
||||||
output: {
|
output: {
|
||||||
// Provide global variables to use in the UMD build
|
// Provide global variables to use in the UMD build
|
||||||
// for externalized deps
|
// for externalized deps
|
||||||
|
Loading…
x
Reference in New Issue
Block a user