mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-11-23 19:29:17 +03:00
.. | ||
src | ||
test | ||
.gitignore | ||
eslintrc.cjs | ||
jest.config.js | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json |
NOTE: typescript
is purposefully a normal dependency instead of a dev
dependency.
Run the program node ./dist/index.js
and pass a list of export requests over
stdin:
[
{ "filenames": ["./src/exports.ts"] },
{
"tsconfig": "~/dev/wasp-todoapp/src/client/tsconfig.json",
"filenames": ["~/dev/wasp-todoapp/src/client/MainPage.tsx"]
}
]
It will respond with an object mapping filenames to exports, something like:
{
"./src/exports.ts": [
{ "type": "named", "name": "getExportsOfFiles" },
{ "type": "default" }
]
}