Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
imported_helpers,
referenced_globals,
this.imports,
this.vars
.filter(variable => variable.module && variable.export_name)
.map(variable => ({
name: variable.name,
as: variable.export_name,
}))
);
css = compile_options.customElement
? { code: null, map: null }
: result.css;
js = print(program, {
sourceMapSource: compile_options.filename
});
js.map.sources = [
compile_options.filename ? get_relative_path(compile_options.outputFilename || '', compile_options.filename) : null
];
js.map.sourcesContent = [
this.source
];
}
return {
js,
css,
ast: this.original_ast,