You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing JS library using rollup-starter-lib as base of my JS library
It has main.js file & main.css file, There is no html file. main.js file is all about DOM manipulation, main.css file is necessary in implementation steps, to easily integrate this JS library, rather giving an instruction to user.
I feel like it's .css file not creating due to tree shaking because of css not used in this JS library itself.
I'm writing JS library using rollup-starter-lib as base of my JS library
It has
main.js
file &main.css
file, There is nohtml
file.main.js
file is all about DOM manipulation,main.css
file is necessary in implementation steps, to easily integrate this JS library, rather giving an instruction to user.I feel like it's .css file not creating due to tree shaking because of css not used in this JS library itself.
Current Distribution
Expected Distribution
copy
main.css
file intodist
folder not expecting since it's not minifying.rollup.config.js
main.js
Basically there is not usage of
main.css
within JS library it self. but it's necessary when integrate this library.The text was updated successfully, but these errors were encountered: