Add peer dependencies to externals for build.
This commit is contained in:
parent
978685b9bd
commit
8787836346
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
|
|||
fileName: "index",
|
||||
},
|
||||
rollupOptions: {
|
||||
external: ["react", "react-dom"],
|
||||
external: ["react", "react-dom", "react-router-dom", "@phosphor-icons/react"],
|
||||
},
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue