Custom NPM Package


I wonder if it is possible to create an NPM Package from an Ionic module, but remain the structure of HTML, SCSS, TS.

Because creating components and pages with HTML and CSS as a string, it is quite tiring to perform maintenance. What’s more, you lose the power to use sass.

I followed this tutorial

Does anyone know if it has a way to render the html and .scss of good in building npm packages ??

When we try with normal templateUrl… after npm package build…

:8100/cart.html:1 Failed to load resource: the server responded with a status of 404 (Not Found)

Not found the html file reference!! =(