remove unnecessary indentation

pull/1864/head
Rich Harris 7 years ago
parent e6d738d4d6
commit 2936a7e7e2

@ -502,11 +502,6 @@ export default class Component {
this.addSourcemapLocations(script.content);
// const { scope, map, globals } = createScopes(script.content);
// scope.declarations.forEach((node, name) => {
// this.node_for_declaration.set(name, node);
// });
// TODO unindent
this.extract_imports_and_exports(script.content, this.imports, this.module_exports);
@ -519,16 +514,6 @@ export default class Component {
this.addSourcemapLocations(script.content);
const { code, source, imports } = this;
const indent = code.getIndentString();
code.indent(indent, {
exclude: [
[0, script.content.start],
[script.content.end, source.length]
]
});
let { scope, map, globals } = createScopes(script.content);
this.module_scope = scope;
this.module_scope_map = map;

Loading…
Cancel
Save