Skip to content

Commit

Permalink
Fix TypeScript builtin without workaround (#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford authored and styfle committed Jul 2, 2019
1 parent d928b4f commit 0c2c2be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"ncc": "./dist/ncc/cli.js"
},
"scripts": {
"build": "node scripts/build && curl -L https://unpkg.com/@zeit/[email protected]/dist/ncc/loaders/ts-loader.js.cache.js > dist/ncc/loaders/ts-loader.js.cache.js",
"build": "node scripts/build",
"build-test-binary": "cd test/binary && node-gyp rebuild && cp build/Release/hello.node ../integration/hello.node",
"codecov": "codecov",
"test": "npm run build-test-binary && npm run build && node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest",
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ module.exports = typescript;
// copy typescript types
await copy(
__dirname + "/../node_modules/typescript/lib/*.ts",
__dirname + "/../dist/ncc/loaders/lib/"
__dirname + "/../dist/ncc/loaders/typescript/lib/"
);

for (const file of await glob(__dirname + "/../dist/**/*.js")) {
Expand Down

0 comments on commit 0c2c2be

Please sign in to comment.