evaneus / stencil-output-target-test

testing the dist-custom-elements-bundle target

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

testing the dist-custom-elements-bundle target

License:MIT License


Languages

Language:HTML 94.3%Language:TypeScript 4.9%Language:JavaScript 0.7%Language:CSS 0.0%