Skip to content

Commit be2671d

Browse files
WIP
1 parent b66d623 commit be2671d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/firestore/tools/console.build.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ const tmpFile = tmp.fileSync().name;
3333

3434
const es2017InputOptions = {
3535
input: 'index.console.ts',
36+
// If I set mangled to true the build breaks, but all other build pipelines
37+
// use the same settings
3638
plugins: rollupUtil.es2017Plugins('browser', /* mangled= */ false),
3739
external: rollupUtil.resolveBrowserExterns,
3840
treeshake: {
@@ -77,6 +79,7 @@ async function build() {
7779
output: [{ code }]
7880
} = await es5Bundle.generate(es2017toEs5OutputOptions);
7981

82+
// The output file is HUGE and uses classes still
8083
const output = `${PREFIX}${JSON.stringify(String(code))}${POSTFIX}`;
8184
await fs_writeFile(es2017toEs5OutputOptions.file, output, 'utf-8');
8285
}

0 commit comments

Comments
 (0)