Skip to content
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

Production release #8

Open
Root-Control opened this issue Jul 29, 2018 · 5 comments
Open

Production release #8

Root-Control opened this issue Jul 29, 2018 · 5 comments

Comments

@Root-Control
Copy link

I'm on production release but webpack isn't working, can you tell us how can we build in production mode.. thank you in advance

@bojidaryovchev
Copy link
Owner

could u provide me with some further explanations? this information is pretty insufficient

@yofi2tofi
Copy link

yofi2tofi commented Aug 30, 2018

Hello! I have same problems. In prod mode i have many error "Cannot find module ..." with zone.js, rxjs and other. I think it becouse webpack doesnt set to prod mode for angular. isn't it? i need pull node modules folder to release container for working in prod.

@yofi2tofi
Copy link

I remove nodeExternals plagin from externals and now all good

@NickvdMeij
Copy link

@yofi2tofi can you please give a detailed list of steps you took to resolve the issue? Got the same problem here, but still no success on resolving the matter.

@yofi2tofi
Copy link

@NickvdMeij hello!

externals: dev ? [
    nodeExternals({
      whitelist: ['webpack/hot/poll?1000']
    })
  ]: [nodeExternals(/^angular-froala-wysiwyg/)]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants