mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +03:00
d975a197c9
swc: - Fill `names` of sourcemap. - Don't add `sourceContents` to sourcemap if `sources` is added. node_swc: - Handle source map for `minify` correctly. - `minify`: Accept `{ filename: code }`.
11 lines
184 B
Plaintext
11 lines
184 B
Plaintext
{
|
|
"mappings": "OAAO,GAAK,CAAC,GAAG,GAAG,QACnB,GADyB,CAAC;IACtB,MAAM,CAAC,CAAC;AACZ,CAAC",
|
|
"names": [
|
|
"foo"
|
|
],
|
|
"sources": [
|
|
"../../input/index.js"
|
|
],
|
|
"version": 3
|
|
}
|