mini-css-extract-plugin icon indicating copy to clipboard operation
mini-css-extract-plugin copied to clipboard

can i extract css based on non-entry?

Open Lx15 opened this issue 7 years ago • 1 comments

i have many entries, and every entry has several chunks that are generated by dynamic modules . i use webpack's splitChunk, so the dynamic modules is splited into several files. then if i use mini-css-extract-plugin now, it will extract css by every splited file . i don't want that and i dont want to extract css based on entry too . I want to extract css based on non-entry ( dynamic module). Is there a workable method? thank U .

Lx15 avatar Nov 06 '19 13:11 Lx15

You can do it using splitChunk, please use stackoverflow or gitter for questions, it is bug tracker, thanks

alexander-akait avatar Nov 06 '19 13:11 alexander-akait