vite-plugin-libcss
vite-plugin-libcss copied to clipboard
Source Map not updated
I am generating a source map for the lib to enable easy debugging:
export default defineConfig({
build: {
minify: false,
sourcemap: true,
lib: {
// ...
},
},
})
However, when loading vite-plugin-libcss plugin then the source map does not get updated, so all the instructions are off by one line, making debugging impossible.
Could the source map be updated as well? Alternatively, maybe print a warning if source maps are enabled that they are not supported with vite-plugin-libcss.