/stencil-output-target-test

testing the dist-custom-elements-bundle target

Primary LanguageHTMLMIT LicenseMIT

Built With Stencil

Test Custom Elements Bundle

[UPDATED] This works, problems were:

  1. using lodash and not lodash-es
  2. 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