[UPDATED] This works, problems were:
- using lodash and not lodash-es
- agadoo not correct.
To run working example:
npm install
npm run build
npx run rollup:one
npx run rollup:two
rollup:one
and rollup:two
builds modules with rollup consuming one component each from the dist/custom-elements-bundle
bundle.
[ORIGINAL]
The bundle created by the dist-custom-elements-bundle
output target should be tree-shakeable according to docs, but according to agadoo it is not:
npm install
npm run build
npx agadoo dist/custom-elements-bundle/index.mjs