This commit is contained in:
Felix Roos 2022-03-19 00:54:17 +01:00
parent d13bfa9220
commit 77fafd40fb
9 changed files with 1494 additions and 1466 deletions

View file

@ -56,12 +56,6 @@ export default (code) => {
return wrapLocationOffset(minified, node, ast.locations, artificialNodes);
}
// replace double quote string "xxx" with 'xxx'.m
if (isStringWithDoubleQuotes(node, ast.locations, code)) {
const minified = getMinified(node.value);
return wrapLocationOffset(minified, node, ast.locations, artificialNodes);
}
// operator overloading => still not done
const operators = {
'*': 'fast',