diff --git a/commands/build.js b/commands/build.js index 3785b52..94f6769 100644 --- a/commands/build.js +++ b/commands/build.js @@ -119,7 +119,7 @@ const devMode = () => ({ const options = build.initialOptions; options.define = options.define || {}; // esbuild 0.16 requires this to be a string, but changes it to code so this will be an actual boolean type in the code - options.define['process.env.DANGER_ADMIN'] = options.minify ? "0" : "1"; + options.define['process.env.DANGER_ADMIN'] = options.minify ? "'0'" : "'1'"; } })