Skip to content

Commit 0ba868f

Browse files
committed
escape unicodes
1 parent 0986b92 commit 0ba868f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/firebase/rollup.config.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,14 @@ const componentBuilds = pkg.components
135135
{
136136
input: `${component}/index.ts`,
137137
output: createUmdOutputConfig(`firebase-${component}.js`),
138-
plugins: [...plugins, uglify()],
138+
plugins: [
139+
...plugins,
140+
uglify({
141+
output: {
142+
ascii_only: true // escape unicode chars
143+
}
144+
})
145+
],
139146
external: ['@firebase/app']
140147
}
141148
];

0 commit comments

Comments
 (0)