Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

Commit

Permalink
Set module mode to es2015 (closes #117)
Browse files Browse the repository at this point in the history
  • Loading branch information
echeung-amzn committed Aug 25, 2019
1 parent f5caeee commit 212a03e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"module": "es2015",
"moduleResolution": "node",
"noUnusedParameters": true,
"noUnusedLocals": true,
Expand Down

1 comment on commit 212a03e

@RGunning
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This introduces a breaking change.

 Details:

    node_modules/ng-inline-svg/lib/index.js:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){export { InlineSVGConfig } from './inline-svg.config';
                                                                                             ^^^^^^

    SyntaxError: Unexpected token export

please make the angular library change #104 and use ng-packagr so that this library can be imported regardless of individual project tsconfigs

Please sign in to comment.