I just published my first npm package (https://www.npmjs.com/package/sensiostarter), which is a small frontend framework (SCSS/JS). I’d like to provide easy ways to import the .js and .css/.scss main files, such as:
@import "sensiostarter/sass"in the user’s sass file, to import the .scss or
@import "sensiostarter/css"to directly import the .css
import "sensiostarter/js"in the user’s js file, to import the .js
As a noob, I couldn’t find any tutorial or similar entry point, to help me achieve that. Could you please enlight me ? Any help would be great!
Thank you in advance!