Skip to content

Commit

Permalink
build: Change TS compiler to 'commonjs' module insead of 'es2015'
Browse files Browse the repository at this point in the history
The tests will not run correctly when using 'es2015'. Also 'commonjs' is the expected module type when using the SDK an NPM package.
  • Loading branch information
corycaywood committed Apr 23, 2020
1 parent 898e18c commit bde6830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js-miniapp-sdk/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"compilerOptions": {
"rootDir": ".",
"outDir": "build",
"module": "es2015",
"module": "commonjs",
"declaration": true
},
"include": [
Expand Down

0 comments on commit bde6830

Please sign in to comment.