mirror of
https://github.com/swc-project/swc.git
synced 2024-12-11 16:21:51 +03:00
5a6c4fd5a0
swc_common: - `SourceMap`: Don't panic for dummy spans. swc_ecma_codegen: - Use span for `throw`. (#1685) - Use span for `var` / `let` / `const`. - Use span for `new`. - Use span for `if`. - Add spans to braces of a block statement. (#1796) swc_ecma_transforms_compat: - `parameters`: Don't drop the span of block statements. (#1796) swc: - Allow specifying input source map in `.swcrc`. - Ensure that the inline source map works properly. (#1713)
4 lines
476 B
JavaScript
4 lines
476 B
JavaScript
console.log('--Hello--');
|
|
throw new Error('Error here');
|
|
|
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9rZHkxL3Byb2plY3RzL3N3Yy1idWdzL3Rlc3RzL3N0YWNrdHJhY2UvaXNzdWUtMTY4NS9pbnB1dC9pbmRleC5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJjb25zb2xlLmxvZygnLS1IZWxsby0tJylcblxudGhyb3cgbmV3IEVycm9yKCdFcnJvciBoZXJlJyk7Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sQ0FBQyxHQUFHLEVBQUMsU0FBVztBQUV2QixLQUFLLENBQUMsR0FBRyxDQUFDLEtBQUssRUFBQyxVQUFZIn0=
|