Use --moduleResolution Node on typescript compile command, noticing this is lacking in frameloom and may cause compiler errors to throw expecting the DOM.

This commit is contained in:
mmcwilliams 2019-04-02 12:43:54 -04:00
parent 23c465b57f
commit d294b7f6f5
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"build": "node ./build.js", "build": "node ./build.js",
"compile": "./node_modules/.bin/tsc src/audioloom.ts --outFile ./audioloom --noImplicitAny -t ES2017" "compile": "./node_modules/.bin/tsc src/audioloom.ts --outFile ./audioloom --noImplicitAny -t ES2017 --moduleResolution Node"
}, },
"repository": { "repository": {
"type": "git", "type": "git",