chore(build): don’t include export var __esModule = true
in every file
But do it during the build process for cjs. Right now we only need this when we transpile from ts directly to es5. This is only the case in our cis build, as for our browser build we only transpile from ts to es6 via ts and then use traceur to do the rest.
This commit is contained in:
@ -21,8 +21,3 @@ export {
|
||||
NoAnnotationError
|
||||
} from './src/di/exceptions';
|
||||
export {OpaqueToken} from './src/di/opaque_token';
|
||||
|
||||
// HACK: workaround for Traceur behavior.
|
||||
// It expects all transpiled modules to contain this marker.
|
||||
// TODO: remove this when we no longer use traceur
|
||||
export var __esModule = true;
|
||||
|
Reference in New Issue
Block a user