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

feat: support for multiple inlined stylesheets in the same style tag

Open wille opened this issue 4 years ago • 3 comments

This PR contains a:

  • [ ] bugfix
  • [x] new feature
  • [ ] code refactor
  • [ ] test update
  • [ ] typo fix
  • [ ] metadata update

Motivation / Use-Case

I have multiple CSS chunks in my web application and in some cases I want to inline more than one of these chunks into a single

Currently data-href does only support one href so I would have to create one style tag per chunk that is inlined which is not super convenient in my current stack.

<style data-href="/static/test.css,static/test2.css">

Breaking Changes

Additional Info

wille avatar Sep 11 '20 09:09 wille

CLA assistant check
All committers have signed the CLA.

jsf-clabot avatar Sep 11 '20 09:09 jsf-clabot

Codecov Report

Merging #586 (b28c5b8) into master (1565706) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #586   +/-   ##
=======================================
  Coverage   91.16%   91.16%           
=======================================
  Files           9        9           
  Lines         543      543           
  Branches      145      145           
=======================================
  Hits          495      495           
  Misses         44       44           
  Partials        4        4           
Impacted Files Coverage Δ
src/index.js 90.04% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1565706...b28c5b8. Read the comment docs.

codecov[bot] avatar Sep 11 '20 09:09 codecov[bot]

I suppose maybe you should do this by html plugin

lsycxyj avatar Oct 26 '20 09:10 lsycxyj