Conversation
5cd2a2a to
4d4cb5f
Compare
tetsuharuohzeki
left a comment
There was a problem hiding this comment.
I seem the current patch does not have a part to copying d.ts files from /__obj/ to /lib/.
This would not work types fields and the archive published into npm does not have any d.ts file.
package.json
Outdated
| "build:down_transform": "NODE_ENV=production babel __obj --out-dir lib --source-maps", | ||
| "watch": "babel src --out-dir lib --watch --source-maps", | ||
| "build:src": "npm-run-all -p build:tsc build:cp_obj", | ||
| "build:down_transform": "cross-env NODE_ENV=production babel __obj --out-dir lib --source-maps", |
There was a problem hiding this comment.
I feel we should sort script names by the order of breaking down a problem. So build -> build:src -> (build:tsc and build:cp_obj) -> build:down_transform
ah, I've forget |
I don't know well about its option. Is it handle source map files correctly? I feel it's more clear & robustness to use |
Compile files + Copy files that is not compiled. |
ok. |
|
looks good to me. |

typesfield to pacakge.jsoncleannpm-run-scriptcross-envfor setting eviromentfix #70
/cc @saneyuki