update sourcemaps

pull/356/head
Vladimir Mandic 2021-09-11 11:17:13 -04:00
parent 017934406a
commit c9554f8e77
2 changed files with 4 additions and 12 deletions

View File

@ -9,8 +9,9 @@
## Changelog ## Changelog
### **HEAD -> main** 2021/09/10 mandic00@live.com ### **HEAD -> main** 2021/09/11 mandic00@live.com
- fix file permissions
- remove old build server - remove old build server
- change build process - change build process
- add benchmark info - add benchmark info

View File

@ -31,7 +31,7 @@
"build": { "build": {
"global": { "global": {
"target": "es2018", "target": "es2018",
"sourcemap": true, "sourcemap": false,
"banner": { "js": "/*\n Human\n homepage: <https://github.com/vladmandic/human>\n author: <https://github.com/vladmandic>'\n*/\n" } "banner": { "js": "/*\n Human\n homepage: <https://github.com/vladmandic/human>\n author: <https://github.com/vladmandic>'\n*/\n" }
}, },
"targets": [ "targets": [
@ -41,7 +41,6 @@
"format": "cjs", "format": "cjs",
"input": "tfjs/tf-node.ts", "input": "tfjs/tf-node.ts",
"output": "dist/tfjs.esm.js", "output": "dist/tfjs.esm.js",
"sourcemap": false,
"external": ["@tensorflow"] "external": ["@tensorflow"]
}, },
{ {
@ -50,7 +49,6 @@
"format": "cjs", "format": "cjs",
"input": "src/human.ts", "input": "src/human.ts",
"output": "dist/human.node.js", "output": "dist/human.node.js",
"sourcemap": false,
"external": ["@tensorflow"] "external": ["@tensorflow"]
}, },
{ {
@ -59,7 +57,6 @@
"format": "cjs", "format": "cjs",
"input": "tfjs/tf-node-gpu.ts", "input": "tfjs/tf-node-gpu.ts",
"output": "dist/tfjs.esm.js", "output": "dist/tfjs.esm.js",
"sourcemap": false,
"external": ["@tensorflow"] "external": ["@tensorflow"]
}, },
{ {
@ -68,7 +65,6 @@
"format": "cjs", "format": "cjs",
"input": "src/human.ts", "input": "src/human.ts",
"output": "dist/human.node-gpu.js", "output": "dist/human.node-gpu.js",
"sourcemap": false,
"external": ["@tensorflow"] "external": ["@tensorflow"]
}, },
{ {
@ -77,7 +73,6 @@
"format": "cjs", "format": "cjs",
"input": "tfjs/tf-node-wasm.ts", "input": "tfjs/tf-node-wasm.ts",
"output": "dist/tfjs.esm.js", "output": "dist/tfjs.esm.js",
"sourcemap": false,
"external": ["@tensorflow"] "external": ["@tensorflow"]
}, },
{ {
@ -86,7 +81,6 @@
"format": "cjs", "format": "cjs",
"input": "src/human.ts", "input": "src/human.ts",
"output": "dist/human.node-wasm.js", "output": "dist/human.node-wasm.js",
"sourcemap": false,
"external": ["@tensorflow"] "external": ["@tensorflow"]
}, },
{ {
@ -95,7 +89,6 @@
"format": "esm", "format": "esm",
"input": "tfjs/tf-browser.ts", "input": "tfjs/tf-browser.ts",
"output": "dist/tfjs.esm.js", "output": "dist/tfjs.esm.js",
"sourcemap": false,
"external": ["@tensorflow", "fs", "os", "buffer", "util"] "external": ["@tensorflow", "fs", "os", "buffer", "util"]
}, },
{ {
@ -113,8 +106,7 @@
"format": "esm", "format": "esm",
"input": "tfjs/tf-browser.ts", "input": "tfjs/tf-browser.ts",
"output": "dist/tfjs.esm.js", "output": "dist/tfjs.esm.js",
"sourcemap": false, "sourcemap": true,
"minify": true,
"external": ["fs", "os", "buffer", "util"] "external": ["fs", "os", "buffer", "util"]
}, },
{ {
@ -123,7 +115,6 @@
"format": "iife", "format": "iife",
"input": "src/human.ts", "input": "src/human.ts",
"output": "dist/human.js", "output": "dist/human.js",
"sourcemap": false,
"minify": true, "minify": true,
"external": ["fs", "os", "buffer", "util"] "external": ["fs", "os", "buffer", "util"]
}, },