Skip to content

Add an option to read sourcemap #5

Open
@ooflorent

Description

@ooflorent

Adding an option to access the source map would ease the integration with build tools.
e.g.:

const {code, map} = optimizeJs(input, {
  sourceMap: true,
  extractSourceMap: true,
})

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions