Add peer dependencies to externals for build.
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Madeorsk 2024-09-23 10:47:40 +02:00
parent 978685b9bd
commit 8787836346
Signed by: Madeorsk
GPG key ID: 677E51CA765BB79F

View file

@ -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"],
},
},