Closed dalongjason closed 1 year ago
|-components ||-components1 |||-- index.less |||-- index.js ||-components1 |||-- index.less |||-- index.js |-index.js |- index.less
|-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
rollup.config.mjsa
postcss
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