egoist / egoist/rollup-plugin-postcss
Keep "import css" line to the output file?
Open
enhancement
help wanted
- Dominant language
- JavaScript
- Stars
- 689
- Forks
- 210
- PR merge metrics
- No merged PRs in 30d
Description
# Rollup Config
```
export default {
input: "src/index.js",
output: {
file: "dist/index.js",
format: "cjs"
},
plugins: [
postcss({
extract: true
})
]
};
```
### src/index.js
```
import "./index.less";
```
# Expected bundle
```
require("./index.css")
```
- But the actual result is an empty bundle
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.