Add tsconfig.json

This commit is contained in:
Gerhard Seidel
2020-09-26 18:26:30 +02:00
parent 9a600c441a
commit 4f7c73d6b4
3 changed files with 18 additions and 2 deletions
+2 -1
View File
@@ -14,7 +14,8 @@
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"assets/": "assets/",
"public/": "%PUBLIC_DIR%/"
"public/": "%PUBLIC_DIR%/",
"tsconfig.json": "tsconfig.json"
},
"gitignore": [
"public/build/enhavo/*",
-1
View File
@@ -5,7 +5,6 @@
* Update your <fg=green>package.json</> file
* Update your <fg=green>webpack.config.js</> file
* Update your configurations
* Add a <fg=green>tsconfig.json</> file
* Build your assets with
<fg=green>$ yarn encore dev</>
+16
View File
@@ -0,0 +1,16 @@
{
"compilerOptions": {
"lib": [ "es2015", "dom" ],
"module": "amd",
"target": "es5",
"allowJs": true,
"noImplicitAny": true,
"suppressImplicitAnyIndexErrors": true,
"moduleResolution": "node",
"sourceMap": true,
"experimentalDecorators": true
},
"include": [
"./assets/**/*"
]
}