Answer the question
In order to leave comments, you need to log in
How can I build an npm package that contains several css files and is used both directly and as an included package?
From the wording of the question, most likely, it is not entirely clear what it is about, so I will explain in a more human language.
I have a mini-project, within the framework of which a wrapper is made over a video player, providing a convenient interface for configuring the player outside. The wrapper is written in ES6 and uses a couple of helper functions imported from adjacent files. The package also contains 2 scss files, which are ultimately converted to css (the design for the player). As a result of the build, I should have a dist folder containing minified js and 2 css. 2 use cases:
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question