We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20bb5a0 commit 49f442dCopy full SHA for 49f442d
1 file changed
index.js
@@ -26,6 +26,10 @@ class InlineSourceWebpackPlugin {
26
for (let name in compilation.assets) {
27
if (regExp.test(name)) {
28
source.content = compilation.assets[name].source();
29
+ if (source.type === 'css') {
30
+ // change tag type
31
+ source.tag = 'style';
32
+ }
33
if (source.props['bundle-delete']) {
34
// mark the bundle that need to delete
35
this.deleteAssets.push({
0 commit comments