We just added webpack 3.0.0 to our angular 2 project. I worked, achieved a performance improvement of 20-25% and reduced the size by 50% (ish). Then I replaced this with the main branch and started getting an error.
ERROR in chunk main [initial]
[name].bundle.js
Module \src\app\sales\models\index.ts has no static exports true
What does this error mean? I did not find anything useful on the Internet. Any tips for fixing it?
The file has \src\app\sales\models\index.tsnot changed since my commit and contains only:
export * from './app-state';
export * from './purchase.model';
export * from './base.model';
export * from './view-state.model';
export * from './address';
export * from './core';
export * from './cover';
export * from './disclaimers';
export * from './family';
export * from './premium';
export * from './payments';
export * from './policy';
export * from './tracking.model';
, , , , "" - ( git bisect), , .
webpack, ConcatenatedModule.js HarmonyImportSpecifierDependencyConcatenatedTemplate
if(!Array.isArray(module.providedExports))
throw new Error(`Module ${module.resource} has no static exports ${module.providedExports}`);
, module.providedExports true, , ; , , .
? ?