fix(scripts/build): turn off broken inlineConst bundler flag
It inline consts some values (notably the settings module loaded status to always be false) which causes unintended side effects.
This commit is contained in:
parent
d386035342
commit
d88962c3b0
1 changed files with 2 additions and 1 deletions
|
|
@ -40,7 +40,8 @@ export default async function build(dev = Dev, log = true) {
|
|||
input: 'src/index.ts',
|
||||
platform: 'neutral',
|
||||
optimization: {
|
||||
inlineConst: true,
|
||||
// ! BROKEN, DO NOT USE!
|
||||
// inlineConst: true,
|
||||
// @ts-expect-error: Option not documented, but added in 1.0.0-beta.30
|
||||
pifeForModuleWrappers: true,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue