CONTRIBUTING.md seems to be a bit out of date, and I'm having some issues building stencil locally.
First off:
- (Optional) If you are working on Jest support, see the installation steps in that directory's README.
This step seems not to be optional, as npm run build fails without it.
Lots of errors:
src/testing/jest/jest-28/jest-environment.ts:3:10 - error TS2305: Module '"jest-environment-node"' has no exported member 'TestEnvironment'.
3 import { TestEnvironment as NodeEnvironment } from 'jest-environment-node';
...
running npm run install.jest seems to fix things.
However, when I build npm run build from the v4.15.0 tag, compiler/stencil.js~~ is in esm~~ format, whereas compiler/stencil.js from npm is in commonJS .
How can I build the commonjs version?