Skip to content

compilation errors caused by rollup deleting minimized firebase semicolon  #1275

Description

@MichaelRando

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' )
      })
   ]
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions