-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Firebase Error for Web! #365
Comments
It seems, for whatever reason, that the |
@SimulatedGREG sorry for the late reply, i tried |
Do you have a project repo I could take a look at? |
@SimulatedGREG im sorry, original project is private. but i created new one, it has the same error when i built for web.. here is the repo.
|
Okay, this is a doozie. In short, this is a bug with new webpack.optimize.UglifyJsPlugin({
ecma: 8
}) |
so for temporary solution is set minify in to false right? i'm using polymer-cli and also have this issue too, thus i've to set build option in polymer.json
this problem is still an issue with the polymerfire (firebase) library. |
For the case of polymer-cli projects, disabling minification would fix the issue, but I personally wouldn't recommend shipping code that isn't minified.. |
@SimulatedGREG thank you so much.. It's working now.. thanks a lot.. |
i am using firebase. When building for desktop, there is no problem. But when i build for web, there was no error when building for web. but when i use webapp, i get this error
and when i look at the web.js and i found that firebase cofig was commented (i know its not intentionally doing that) but how can i avoid that?
The text was updated successfully, but these errors were encountered: