Always bundle pro

This commit is contained in:
Adria Navarro 2023-06-02 14:50:55 +01:00
parent 91f760d7c4
commit 5c7bca96e6
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ function runBuild(entry, outfile) {
NodeResolve({
extensions: [".ts", ".js"],
onResolved: resolved => {
if (resolved.includes("node_modules")) {
if (resolved.includes("node_modules") && !resolved.includes("/@budibase/pro/")) {
return {
external: true,
}