Test yarn ngc -p tsconfig.json yarn ngc -p tsconfig-with-tsickle.json node dist-no-tsickle/index.js (fails also in SSR unless HTMLElement is globally provided in a non-browser environment) node dist-with-tsickle/index.js (works)