Executors automatically write the main entry point to package.json so it should not be in the template package file.
This is necessary since use of @nrwl/node:webpack executor for bundling builds has a different entry point (./main.js) to @nrwl/js:tsc (src/index.js).
Executors automatically write the main entry point to
package.json
so it should not be in the template package file. This is necessary since use of@nrwl/node:webpack
executor for bundling builds has a different entry point (./main.js
) to@nrwl/js:tsc
(src/index.js
).