Skip to content

Commit d495d42

Browse files
authored
Merge pull request #396 from piotr-cz/bugfix/sourcemaps-styles-plugin
(wmr) Fix source maps in styles-plugin
2 parents b5c9cac + 2f88ebf commit d495d42

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/green-camels-drop.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'wmr': patch
3+
---
4+
5+
Fix source maps in styles-plugin

packages/wmr/src/plugins/wmr/styles-plugin.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,8 @@ export default function wmrStylesPlugin({ cwd, hot, fullPath } = {}) {
175175
return {
176176
code,
177177
moduleSideEffects: true,
178-
syntheticNamedExports: true
178+
syntheticNamedExports: true,
179+
map: null
179180
};
180181
}
181182
};

0 commit comments

Comments
 (0)