mirror of
https://github.com/dzeiocom/components.git
synced 2025-07-29 08:19:50 +00:00
fix: Build including NextJS
Signed-off-by: Avior <f.bouillon@aptatio.com>
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', ...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