Skip to content

Commit

Permalink
fix: set strictRequires to auto when building auto updating studios
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Jan 24, 2025
1 parent 645db7b commit d9a518f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ export async function buildVendorDependencies({
define: {'process.env.NODE_ENV': JSON.stringify('production')},

build: {
commonjsOptions: {strictRequires: 'auto'},
minify: true,
emptyOutDir: false, // Rely on CLI to do this
outDir: path.join(outputDir, VENDOR_DIR),
Expand Down

0 comments on commit d9a518f

Please sign in to comment.