Skip to content

Source Map not updated #14

Description

@vincesp

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions