test: add systemjs+umd integration test (#14196)
This test ensures the `__esModule` is set on UMD bundles, thus making them compatible with SystemJS@^0.22.3. Followup from https://github.com/frankwallis/plugin-typescript/issues/185. PR Close #14196
This commit is contained in:

committed by
Miško Hevery

parent
f8c075ae27
commit
f634c62cb3
@ -10,6 +10,7 @@ export default {
|
||||
entry: '../../dist/packages-dist/upgrade/@angular/upgrade.es5.js',
|
||||
dest: '../../dist/packages-dist/upgrade/bundles/upgrade.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
moduleName: 'ng.upgrade',
|
||||
globals: {
|
||||
'@angular/core': 'ng.core',
|
||||
|
@ -10,6 +10,7 @@ export default {
|
||||
entry: '../../../dist/packages-dist/upgrade/@angular/upgrade/static.es5.js',
|
||||
dest: '../../../dist/packages-dist/upgrade/bundles/upgrade-static.umd.js',
|
||||
format: 'umd',
|
||||
exports: 'named',
|
||||
moduleName: 'ng.upgrade.static',
|
||||
globals: {'@angular/core': 'ng.core'}
|
||||
};
|
||||
|
Reference in New Issue
Block a user