-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
Describe the bug
The code behind multiline comments can not start a new line, it with start at the multiline comments line.
Input code
const { a } = require('./a');
/**
* test
*/
App({a});
Config
{
"jsc": {
"preserveAllComments": true,
"parser": {
"syntax": "ecmascript",
"jsx": false
},
"target": "es5",
"loose": false,
"minify": {
"compress": false,
"format": {
"indent_level": 2
},
"mangle": false
}
},
"minify": false,
"isModule": true,
"module": {
"type": "commonjs"
}
}
Playground link
Expected behavior
"use strict";
var a = require("./a").a;
/**
* test
*/
App({
a: a
});
Actual behavior
"use strict";
var a = require("./a").a;
/**
* test
*/ App({
a: a
});
Version
1.2.245
Additional context
No response