mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 14:16:12 +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
166 B
Plaintext
11 lines
166 B
Plaintext
{
|
|
"mappings": ";;;;;AAEO,KAAK,CAAC,GAAG,GAAG,CAAC;QAAP,GAAG,GAAH,GAAG",
|
|
"names": [
|
|
"foo"
|
|
],
|
|
"sources": [
|
|
"../../input/index.ts"
|
|
],
|
|
"version": 3
|
|
}
|