HMR plugin should not remove sourcemaps for the files
Actual Behavior
When running Dev server for a Lit project, it renders sourcemaps but when HMR is enabled, it removes any sourcemap found in file.
Additional context
package.json dev dependency
"@open-wc/dev-server-hmr": "next",
Looking closer into the package, i found it happens due to babel transform configuration in the plugin. If i manually include sourceMaps: "inline" in the file it starts working.
Expected behavior
HMR plugin should not remove sourcemaps for the files
Actual Behavior
When running Dev server for a Lit project, it renders sourcemaps but when HMR is enabled, it removes any sourcemap found in file.
Additional context
package.json dev dependency
"@open-wc/dev-server-hmr": "next",
Looking closer into the package, i found it happens due to babel transform configuration in the plugin. If i manually include
sourceMaps: "inline"
in the file it starts working.Is it intended?