File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 2020 },
2121 "./babel-plugin" : " ./dist/node/babel-plugin/index.js" ,
2222 "./cli" : " ./dist/node/cli/run.js" ,
23- "./weak-node-api" : " ./weak-node-api"
23+ "./weak-node-api" : " ./dist/node/ weak-node-api.js "
2424 },
2525 "files" : [
2626 " logo.svg" ,
Original file line number Diff line number Diff line change @@ -23,3 +23,5 @@ export {
2323} from "./prebuilds/apple.js" ;
2424
2525export { determineLibraryBasename , prettyPath } from "./path-utils.js" ;
26+
27+ export { weakNodeApiPath } from "./weak-node-api.js" ;
Original file line number Diff line number Diff line change 1+ import assert from "node:assert/strict" ;
2+ import fs from "node:fs" ;
3+ import path from "node:path" ;
4+
5+ export const weakNodeApiPath = path . resolve ( __dirname , "../../weak-node-api" ) ;
6+
7+ assert (
8+ fs . existsSync ( weakNodeApiPath ) ,
9+ `Expected Weak Node API path to exist: ${ weakNodeApiPath } `
10+ ) ;
You can’t perform that action at this time.
0 commit comments