Skip to content

Commit

Permalink
Consider all packages prefixed with @project-gauntlet/api as external
Browse files Browse the repository at this point in the history
  • Loading branch information
Exidex committed Feb 11, 2024
1 parent 2239c90 commit 9ece308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function rollupInputOptions(manifest: Manifest): InputOptions {

return {
input: inputs,
external: ["react", "react/jsx-runtime", "@project-gauntlet/api/components"],
external: ["react", "react/jsx-runtime", /^@project-gauntlet\/api/],
plugins: [
nodeResolve(),
commonjs(),
Expand Down

0 comments on commit 9ece308

Please sign in to comment.