mirror of
https://github.com/dzeiocom/components.git
synced 2025-07-29 08:19:50 +00:00
fix: Build considering index.ts as an external deps
Signed-off-by: Avior <github@avior.me>
This commit is contained in:
@ -17,7 +17,7 @@ export default defineConfig({
|
||||
rollupOptions: {
|
||||
// externalize deps that shouldn't be bundled
|
||||
// into your library
|
||||
external: ['react', 'react-dom', /next/gu, ...external],
|
||||
external: ['react', 'react-dom', /^next/gu, ...external],
|
||||
output: {
|
||||
// Provide global variables to use in the UMD build
|
||||
// for externalized deps
|
||||
|
Reference in New Issue
Block a user