You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The --sourcemap option is available only for the wmr start command (defined here) - but doesn't trigger source maps generation.
When using wmr build --sourcemap (undocumented) - source maps are generated, but following warning shows up in console:
Sourcemap is likely to be incorrect: a plugin (wmr-styles) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help
This is probably caused by missing map property: in the transform method
Hiya! Good catch. We don't actually support sourcemaps during dev because there is so little transformation happening. We could in prod though, that plugin should just be returning { map: null }.
The
--sourcemap
option is available only for thewmr start
command (defined here) - but doesn't trigger source maps generation.When using
wmr build --sourcemap
(undocumented) - source maps are generated, but following warning shows up in console:This is probably caused by missing
map
property: in thetransform
methodwmr/packages/wmr/src/plugins/wmr/styles-plugin.js
Lines 175 to 179 in e8b5880
The text was updated successfully, but these errors were encountered: