I have a firebase project that rollup is failing to build. I determined that rollup was corrupting the auth.js file out of firebase by removing meaningful semicolon. Rolling back rollupjs to version 0.36.1 "fixed" me. You probably want to look at this. g+oe|0a.h[0] is the broken substr.
Minimized rollup.config.js follows:
import replace from 'rollup-plugin-replace'
export default {
entry: 'node_modules/firebase/auth.js',
dest: './dist/auth.js',
format: 'iife',
plugins:
[
replace({
'process.env.NODE_ENV': JSON.stringify( 'production' )
})
]
}
I have a firebase project that rollup is failing to build. I determined that rollup was corrupting the auth.js file out of firebase by removing meaningful semicolon. Rolling back rollupjs to version 0.36.1 "fixed" me. You probably want to look at this.
g+oe|0a.h[0]is the broken substr.Minimized rollup.config.js follows: