Skip to content

Commit 97e71c0

Browse files
committed
Blueprint: generate ES6 modules instead of CommonJS modules.
This resolves a problem where tools that codemod the imports, e.g. babel-plugin-ember-modules-api-polyfill, were unable to work because the modules being generated were not the same ES6 modules as the codemod expected (TS generates CommonJS modules by default).
1 parent 3c2fc3d commit 97e71c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

blueprints/ember-cli-typescript/files/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"noEmit": true,
88
"sourceMap": true,
99
"baseUrl": ".",
10+
"modules": "ES6",
1011
"paths": {
1112
"<%= dasherizedPackageName %>/tests/*": ["tests/*"],
1213
"<%= dasherizedPackageName %>/*": [

0 commit comments

Comments
 (0)