|
|
@ -35,7 +35,6 @@ export function transform_component(analysis, source, options) {
|
|
|
|
|
|
|
|
|
|
|
|
const js_source_name = get_source_name(options.filename, options.outputFilename, 'input.svelte');
|
|
|
|
const js_source_name = get_source_name(options.filename, options.outputFilename, 'input.svelte');
|
|
|
|
|
|
|
|
|
|
|
|
// @ts-ignore TODO
|
|
|
|
|
|
|
|
const js = print(program, ts({ comments: analysis.comments }), {
|
|
|
|
const js = print(program, ts({ comments: analysis.comments }), {
|
|
|
|
// include source content; makes it easier/more robust looking up the source map code
|
|
|
|
// include source content; makes it easier/more robust looking up the source map code
|
|
|
|
// (else esrap does return null for source and sourceMapContent which may trip up tooling)
|
|
|
|
// (else esrap does return null for source and sourceMapContent which may trip up tooling)
|
|
|
|