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 b66d623 commit be2671dCopy full SHA for be2671d
packages/firestore/tools/console.build.js
@@ -33,6 +33,8 @@ const tmpFile = tmp.fileSync().name;
33
34
const es2017InputOptions = {
35
input: 'index.console.ts',
36
+ // If I set mangled to true the build breaks, but all other build pipelines
37
+ // use the same settings
38
plugins: rollupUtil.es2017Plugins('browser', /* mangled= */ false),
39
external: rollupUtil.resolveBrowserExterns,
40
treeshake: {
@@ -77,6 +79,7 @@ async function build() {
77
79
output: [{ code }]
78
80
} = await es5Bundle.generate(es2017toEs5OutputOptions);
81
82
+ // The output file is HUGE and uses classes still
83
const output = `${PREFIX}${JSON.stringify(String(code))}${POSTFIX}`;
84
await fs_writeFile(es2017toEs5OutputOptions.file, output, 'utf-8');
85
}
0 commit comments