Skip to content

Commit

Permalink
make sure p5 is not bundled in dist build
Browse files Browse the repository at this point in the history
  • Loading branch information
patinthehat committed Mar 15, 2023
1 parent c75e918 commit 5bb16cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class Builder {
entryPoints: [buildConfig.entry],
// outdir: buildConfig.outdir || '',
bundle: buildConfig.bundle,
external: ['util'],
external: ['util', 'p5'],
format: buildConfig.format,
platform: buildConfig.platform.name,
target: buildConfig.target || `${buildConfig.platform.name}${buildConfig.platform.version}`,
Expand Down

0 comments on commit 5bb16cc

Please sign in to comment.