refactor: clean up

This commit is contained in:
Acid Chicken (硫酸鶏) 2023-05-31 19:34:33 +09:00
parent 5e2bf549ac
commit 3ca9847a03
No known key found for this signature in database
GPG key ID: 3E87B98A3F6BAB99
3 changed files with 0 additions and 9 deletions

View file

@ -69,7 +69,6 @@ export function unwindCssModuleClassName(ast: estree.Node): void {
if (ctx.type !== 'Identifier') return;
if (ctx.name !== '_ctx') return;
if (render.argument.body.type !== 'BlockStatement') return;
//console.dir(render, { depth: Infinity });
for (const [key, value] of moduleForest) {
const cssModuleTreeNode = parent.body.find((x) => {
if (x.type !== 'VariableDeclaration') return false;