egoist/rollup-plugin-postcss
Auf GitHub ansehenKeep "import css" line to the output file?
Open
#204 geöffnet am 15. Nov. 2019
enhancementhelp wanted
Repository-Metriken
- Stars
- (689 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
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