Rollup how to deal with Less or css to a separate module folder
dalongjason opened this issue · comments
project structure
|-components
||-components1
|||-- index.less
|||-- index.js
||-components1
|||-- index.less
|||-- index.js
|-index.js
|- index.less
output
|-components
||-components1
|||-- index.css
|||-- index.js
||-components1
|||-- index.css
|||-- index.js
|-index.js
|- index.css
@dalongjason I'm sorry but i don't quite understand your question, if it is what i am thinking you might want to look into rollup.config.mjsa
file and look at the options for the postcss
plugin