This is sample repository adopts custom elements for IE11 and modern browsers
https://tiberiucorbu.github.io/es5-esnext-webcomponent-project-starter/
npm run build
npm run build:types
npm run type-check
And to run in --watch mode:
npm run type-check:watch
Build it inside a container
docker build -t es-variants-build .
where es-variants-build
is a name chosen by you.
cmd :
docker run -v "%cd%/src:/src" es-variants-build
bash:
docker run -v "$pwd/src:/src/src" es-variants-build