let TypeScript output ES modules
This commit is contained in:
parent
d50c1a9ccf
commit
3967f5ce2b
@ -4,7 +4,7 @@
|
||||
description: 'A hopeful final typescipt-pragmatic mathjs proof-of-concept',
|
||||
main: 'index.ts',
|
||||
scripts: {
|
||||
'build-and-run': 'ttsc -b && node build/index.js',
|
||||
'build-and-run': 'ttsc -b && echo {"type":"module"} > build/package.json && node build/index.js',
|
||||
},
|
||||
keywords: [
|
||||
'math',
|
||||
|
@ -7,7 +7,6 @@
|
||||
"allowJs": false,
|
||||
"noImplicitAny": false,
|
||||
"moduleResolution": "Node",
|
||||
"module": "commonjs",
|
||||
"plugins": [{
|
||||
"transform": "./src/plugins/typeInferPlugin.ts",
|
||||
"type": "raw"
|
||||
|
Loading…
Reference in New Issue
Block a user