mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +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
|
|
}
|