Add svelte as a view engine to swaf #33

Merged
ashpie merged 97 commits from svelte into develop 2021-11-09 19:31:22 +01:00
3 changed files with 56 additions and 56 deletions
Showing only changes of commit c8e9cf963d - Show all commits

View File

@ -1,33 +1,33 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "ES6", "target": "ES6",
"module": "CommonJS", "module": "CommonJS",
"declaration": true, "declaration": true,
"stripInternal": true, "stripInternal": true,
"strict": true, "strict": true,
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"moduleResolution": "Node", "moduleResolution": "Node",
"esModuleInterop": true, "esModuleInterop": true,
"baseUrl": "dist", "baseUrl": "dist",
"rootDir": "src", "rootDir": "src",
"sourceRoot": "src", "sourceRoot": "src",
"inlineSourceMap": true, "inlineSourceMap": true,
"inlineSources": true, "inlineSources": true,
"outDir": "dist", "outDir": "dist",
"typeRoots": [ "typeRoots": [
"node_modules/@types", "node_modules/@types",
"src/types" "src/types"
], ],
"lib": [ "lib": [
"es2020" "es2020"
], ],
"resolveJsonModule": true, "resolveJsonModule": true,
"skipLibCheck": true "skipLibCheck": true
}, },
"include": [ "include": [
"src/**/*" "src/**/*"
] ]
} }

View File

@ -1,14 +1,14 @@
{ {
"extends": "./tsconfig.json", "extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"typeRoots": [ "typeRoots": [
"node_modules/@types", "node_modules/@types",
"src/types", "src/types",
"test/types" "test/types"
]
},
"include": [
"src/types/**/*",
"test/**/*"
] ]
}, }
"include": [
"src/types/**/*",
"test/**/*"
]
}

View File

@ -1,19 +1,19 @@
{ {
"extends": "@tsconfig/svelte/tsconfig.json", "extends": "@tsconfig/svelte/tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "public/js", "outDir": "public/js",
"rootDir": "./build", "rootDir": "./build",
"target": "ES6", "target": "ES6",
"strict": true, "strict": true,
"lib": [ "lib": [
"es2020", "es2020",
"DOM" "DOM"
], ],
"typeRoots": [ "typeRoots": [
"./node_modules/@types" "./node_modules/@types"
]
},
"include": [
"assets/ts/**/*"
] ]
},
"include": [
"assets/ts/**/*"
]
} }