aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package.json2
-rw-r--r--tsconfig.json15
2 files changed, 13 insertions, 4 deletions
diff --git a/package.json b/package.json
index def4f0a..91552a3 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
"private": true,
"scripts": {
"build": "rollup -c",
- "dev": "rollup -c -w",
+ "dev": "rollup -c -w --environment PORT:1776",
"start": "sirv public --no-clear",
"check": "svelte-check --tsconfig ./tsconfig.json"
},
diff --git a/tsconfig.json b/tsconfig.json
index 561adfa..bbb617e 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,6 +1,15 @@
{
"extends": "@tsconfig/svelte/tsconfig.json",
- "compilerOptions": {"strictNullChecks": true},
- "include": ["src/**/*"],
- "exclude": ["node_modules/*", "__sapper__/*", "public/*"]
+ "compilerOptions": {
+ "strictNullChecks": true,
+ "resolveJsonModule": true
+ },
+ "include": [
+ "src/**/*"
+ ],
+ "exclude": [
+ "node_modules/*",
+ "__sapper__/*",
+ "public/*"
+ ]
} \ No newline at end of file