diff --git a/package.json b/package.json index f80727b..c9c23a9 100644 --- a/package.json +++ b/package.json @@ -19,10 +19,10 @@ "ts-loader": "^8.3.0", "typescript": "^4.2.4", "webpack": "^5.37.1", - "webpack-cli": "^4.2.0" + "webpack-cli": "^4.2.0", + "@cloudflare/workers-types": "3.2.0" }, "dependencies": { - "@cloudflare/kv-asset-handler": "0.1.0", - "@cloudflare/workers-types": "^2.2.2" + "@cloudflare/kv-asset-handler": "0.2.0" } } diff --git a/tsconfig.json b/tsconfig.json index 33bc7b0..ae56c9f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,9 +1,9 @@ { "compilerOptions": { "outDir": "./dist", - "module": "commonjs", - "target": "esnext", - "lib": ["esnext", "webworker"], + "module": "CommonJS", + "target": "ES2020", + "lib": ["ES2020"], "alwaysStrict": true, "strict": true, "preserveConstEnums": true,