fix sourcemaps generation
MODIFY
packages/@romejs/js-compiler/api/compile.ts
packages/@romejs/js-compiler/api/compile.ts
@@ -44,6 +44,7 @@ export default async function compile(
const generator = formatJS(transformedAst, {
typeAnnotations: false,
indent: req.stage === 'compileForBundle' ? 1 : 0,
+ format: 'pretty',
sourceMapTarget: filename,
sourceFileName: filename,
inputSourceMap: req.inputSourceMap,

fix sourcemaps generation