mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
* fix: several ModuleExpression printing edgecases * fix: end module expression's program before } * fix: expect braceL after module * refactor: introduce ensureNoLineTerminator * use this.ensureNoLineTerminator * update source-map fixtures * address review comments * consume eof when end is eof
15 lines
415 B
JSON
15 lines
415 B
JSON
{
|
|
"version": 3,
|
|
"names": [
|
|
"m",
|
|
"foo",
|
|
"bar"
|
|
],
|
|
"sources": [
|
|
"fixtures/sourcemaps/ModuleExpression/input.js"
|
|
],
|
|
"sourcesContent": [
|
|
"const m = module { export const foo = \"foo\" };\nmodule {\n foo;\n bar;\n};\nfoo(module {});"
|
|
],
|
|
"mappings": "AAAA,MAAMA,CAAC,GAAG;EAAS,OAAO,MAAMC,GAAG,GAAG,KAAK;AAAC,CAAC;AAC7C;EACEA,GAAG;EACHC,GAAG;AACL,CAAC;AACDD,GAAG,CAAC,QAAQ,CAAC,CAAC"
|
|
} |