Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add getting-started documentation for outside contributors #273

Open
mieubrisse opened this issue Nov 7, 2020 · 1 comment
Open

Add getting-started documentation for outside contributors #273

mieubrisse opened this issue Nov 7, 2020 · 1 comment

Comments

@mieubrisse
Copy link

mieubrisse commented Nov 7, 2020

Hey @nwtgck , I'm trying to fix #263 on my fork branch and I've made the change to main.ts, but I can't figure out how to regenerate the dist/index.js file:

  1. Running tsc outputs multiple files (one per source .ts file) to the lib directory, but when I diff the outputted lib/main.js with the existing dist/index.js I get vast differences
  2. Running tsc --outFile dist/index.js throws Only 'amd' and 'system' modules are supported alongside --outFile. (because the tsconfig.json specifies commonjs modules). Switching to either amd or system module types throws other errors.

How can I regenerate the dist/index.js file?

@nwtgck
Copy link
Owner

nwtgck commented Nov 8, 2020

@mieubrisse Hi,

You can run the following code to regenerate it.

cd <this repo>
npm ci
npm run all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants