rollup-plugin-styles
rollup-plugin-styles copied to clipboard
I would like to be able to freely define the export path.
Please can you support custom export directories, also need to support relative paths, also the generated files follow the assetFileNames configuration by default, but some scenarios require fixed file names, thank you!
The directory structure I want to achieve.
|-- dist
| |-- css
| |-- index.css
| |-- js
| |-- index.js
|-- src
| |-- css
| |-- index.scss
| |-- js
| |-- index.js
Currently mode: "extract" is only available in the js directory.
|-- dist
| |-- css
| |-- js
| |-- assets
| |-- index-186392aa.css
| |-- index.js
|-- src
| |-- css
| |-- index.scss
| |-- js
| |-- index.js -> import '../css/index.scss'
I would like to customize this as well, because:
- https://github.com/jleeson/rollup-plugin-import-css/issues/42
- https://github.com/thgh/rollup-plugin-css-only/issues/64
Related:
- https://github.com/embroider-build/embroider/issues/2461#issuecomment-3423666073