![]() ![]() It's taking care of CSS compilation including generating modules to be used as import * as styles from "./styles.scss"īut here's the important thing: Rollup doesn't need your peer dependencies to be actually installed in node_modules/.The resulting package should only contain the package files. It's automatically defining all peer dependencies AND dependencies as external. ![]() You can see a few more nifty things going on in that config file: The ES module makes sense when you pair it with module config in your package.json: "main": "dist/index.js", Those should be imported automatically when I run import ), It should contain it's own CSS styles written in Sass. #Npm add peerdependencies install
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |