Moved codec workers to web
This commit is contained in:
parent
6c151545ea
commit
8dcaa08296
10 changed files with 6 additions and 4 deletions
|
@ -6,7 +6,7 @@
|
||||||
"directories": {},
|
"directories": {},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"compile-sass": "sass --update .:.",
|
"compile-sass": "sass --update .:.",
|
||||||
"build-worker-codec": "tsc -p shared/js/workers/tsconfig_worker_codec.json",
|
"build-worker-codec": "tsc -p web/js/workers/tsconfig_worker_codec.json",
|
||||||
"build-worker-pow": "tsc -p shared/js/workers/tsconfig_worker_pow.json",
|
"build-worker-pow": "tsc -p shared/js/workers/tsconfig_worker_pow.json",
|
||||||
"build-worker": "npm run build-worker-codec; npm run build-worker-pow;",
|
"build-worker": "npm run build-worker-codec; npm run build-worker-pow;",
|
||||||
"dtsgen": "node tools/dtsgen/index.js",
|
"dtsgen": "node tools/dtsgen/index.js",
|
||||||
|
|
|
@ -54,8 +54,9 @@ if [[ ! -d shared/declarations ]]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
generate_link client/declarations/exports.d.ts shared/declarations/imports_client.d.ts
|
#The shared part has no access to the other parts, it just declares a abstract API
|
||||||
generate_link web/declarations/exports.d.ts shared/declarations/imports_web.d.ts
|
#generate_link client/declarations/exports.d.ts shared/declarations/imports_client.d.ts
|
||||||
|
#generate_link web/declarations/exports.d.ts shared/declarations/imports_web.d.ts
|
||||||
|
|
||||||
|
|
||||||
#Last but not least the client imports
|
#Last but not least the client imports
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "es6",
|
"target": "es6",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"sourceMap": true
|
"sourceMap": true,
|
||||||
|
"lib": ["es6", "dom", "dom.iterable"]
|
||||||
},
|
},
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"node_modules",
|
"node_modules",
|
||||||
|
|
Loading…
Add table
Reference in a new issue