-
Notifications
You must be signed in to change notification settings - Fork 129
Closed
Description
For projects like https://github.com/AngularClass/NG6-starter where ng dependency names are imported with ES modules the names of ng modules are not string literals.
Non-ES modules example (works now):
angular.module('foo', [
'bar',
'baz',
]);
ES modules example (should work):
import bar from 'path/to/bar';
import baz from 'path/to/baz';
const fooModule = angular.module('foo', [
bar,
baz,
]);
export default homeModule.name;