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

breaks webpack-dll-bundles-plugin #27

Closed
IAMtheIAM opened this issue Aug 11, 2017 · 1 comment
Closed

breaks webpack-dll-bundles-plugin #27

IAMtheIAM opened this issue Aug 11, 2017 · 1 comment

Comments

@IAMtheIAM
Copy link

IAMtheIAM commented Aug 11, 2017

Using this plugin breaks your webpack-dll-bundles-plugin.

If DLLs already exist prior to enabling ngc-webpack plugin, and then I enable ngc-webpack, it is success

Starting compilation using the angular compiler.
Angular compilation done, starting webpack bundling.
DLL: Checking if DLLs are valid.
DLL: All DLLs are valid.

However If I delete my dlls folder, then try to run again, fail

Starting compilation using the angular compiler.
Angular compilation done, starting webpack bundling.
Error: ENOENT: no such file or directory, open 'C:\Source\GitHub\wwwroot\dlls\polyfills-manifest.json'

It tries to look for the manifest file before even checking if the DLLs are valid or not.

@IAMtheIAM
Copy link
Author

IAMtheIAM commented Aug 11, 2017

UPDATE: I figured it out.
Order matters: DllBundlesPlugin must come BEFORE NgcWebpackPlugin or the above error occurs.

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

1 participant