-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting Input Decorators fails in production build, but not in development build #198
Comments
can use use |
Same as #190 |
@gdi2290 It still gives the error (only in production, not dev). @manavsehgal when I comment out CommonsChunkPlugin for common, it just moves up to vendor to being the file that calls the same error. If I comment out the plugin for vendor it just moves up to main. It works without a problem in plunker, but not in production build: https://plnkr.co/edit/XBqIYu4aHyNi7TJtc5wH?p=preview Every directive I have with an input setter breaks in production build. |
oh yeah there was a problem with |
Do I need to install a new version of that plugin or redownload this repo? This is the part I commented out on production config, let me know if I'm commenting out the wrong areas.
Still not working after commenting out either of the two or both of the above. |
leave the vendor CommonChunk |
you also want to move DedupePlugin and OccurenceOrderPlugin to be first |
@gdi2290 The issue persists. I just did a clean install of the latest repo and the error is still there. There is still something wrong with the current build. To reproduce error, all you have to do is...
|
can you update the prod config. see #203 |
@gdi2290 thanks, it works great now 👍 |
Thanks for opening an issue. If you have any more questions or problems feel free to open another one |
There seems to be some sort of configuration bug as I set the input like this
It works perfectly fine when I do a development build. However when I build it in production mode, no errors are thrown during compiling. However, when I load it in the browser, browser.js throws an Uncaught TypeError... when I look at the trace it shows
The same bug occurs on every other directive that has a input setter as well. What could be the issue?
The text was updated successfully, but these errors were encountered: