Skip to content

TypeScript plugin is not compatible with Terser plugin inline sourcemaps #1470

Closed

Description

@olfek

With this config:

...
plugins:
[
    typescript({tsconfig: 'tsconfig.example.json'}),
    terser({sourceMap: {content: 'inline', includeSources: true, url: 'inline'}})
]
...

Terser plugin complains with this message:

inline source map not found

Because ...

// Force separate source map files for Rollup to work with.


So Rollup can work with separate source map files, but can the Terser plugin? 🤔 From my research, I don't think it can.

Activity

  1. changed the title [-]This plugin is not compatible with Terser plugin inline sourcemaps[/-] [+]TypeScript plugin is not compatible with Terser plugin inline sourcemaps[/+] on Apr 4, 2023
  2. locked and limited conversation to collaborators on Apr 4, 2023
  3. converted this issue into a discussion #1471 on Apr 4, 2023
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions