Skip to content

CLI: sourcesContent field in .map file should always contain source code #4342

@mems

Description

@mems

Actually we've got :

  1. sourceMap: enable source map, create additional .map contains map between generated file and the original source file
  2. inlineMap (previously inline): enable source map, inline source map in generated file with original source file content

We need a third option to activate separately source file content inlining (+ add clarity):

  1. sourceMap: enable source map, create additional .map file contains source map data
  2. inlineSourceMap: enable source map, inline source map data in the generated file
  3. inlineSourceMapSource: inline in source map data the source file content (add sourcesContent field)

Related #4223

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions