We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0f9c17 commit 531788bCopy full SHA for 531788b
packages/plugin/webpack/src/WebpackPlugin.ts
@@ -154,6 +154,7 @@ export default class WebpackPlugin extends PluginBase<WebpackPluginConfig> {
154
getHooks(): ForgeHookMap {
155
return {
156
prePackage: async (config, platform, arch) => {
157
+ this.isProd = true;
158
await fs.remove(this.baseDir);
159
await utils.rebuildHook(
160
this.projectDir,
0 commit comments