The Impact of ES6 on Module Plugins

The Impact of ES6 on Module Plugins

Some plugins add or modify top-level exports on existing modules. While this is legal in CommonJS and other loaders, ES6 modules are considered immutable and this pattern will not be possible. Because TypeScript is loader-agnostic, there is no compile-time enforcement of this policy, but developers intending to transition to an ES6 module loader should be aware of this.

doc_TypeScript
2016-10-04 19:25:36
Comments
Leave a Comment

Please login to continue.