mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
fix: ts-node Cannot use import statement outside a module
https://github.com/TypeStrong/ts-node/issues/922
This commit is contained in:
parent
17ddc4f48a
commit
ae349cc5d9
1 changed files with 4 additions and 1 deletions
|
|
@ -2,7 +2,10 @@
|
||||||
"exclude": ["template/**/*.js"],
|
"exclude": ["template/**/*.js"],
|
||||||
"include": ["src", "features"],
|
"include": ["src", "features"],
|
||||||
"ts-node": {
|
"ts-node": {
|
||||||
"files": true
|
"files": true,
|
||||||
|
"compilerOptions": {
|
||||||
|
"module": "commonjs"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": "./",
|
"baseUrl": "./",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue