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.type !== 'Identifier') return;
if (ctx.name !== '_ctx') return; if (ctx.name !== '_ctx') return;
if (render.argument.body.type !== 'BlockStatement') return; if (render.argument.body.type !== 'BlockStatement') return;
//console.dir(render, { depth: Infinity });
for (const [key, value] of moduleForest) { for (const [key, value] of moduleForest) {
const cssModuleTreeNode = parent.body.find((x) => { const cssModuleTreeNode = parent.body.find((x) => {
if (x.type !== 'VariableDeclaration') return false; if (x.type !== 'VariableDeclaration') return false;

View file

@ -78,7 +78,6 @@
"vuedraggable": "next" "vuedraggable": "next"
}, },
"devDependencies": { "devDependencies": {
"@babel/types": "^7.22.4",
"@storybook/addon-actions": "7.0.18", "@storybook/addon-actions": "7.0.18",
"@storybook/addon-essentials": "7.0.18", "@storybook/addon-essentials": "7.0.18",
"@storybook/addon-interactions": "7.0.18", "@storybook/addon-interactions": "7.0.18",
@ -99,7 +98,6 @@
"@storybook/vue3-vite": "7.0.18", "@storybook/vue3-vite": "7.0.18",
"@testing-library/jest-dom": "5.16.5", "@testing-library/jest-dom": "5.16.5",
"@testing-library/vue": "7.0.0", "@testing-library/vue": "7.0.0",
"@types/babel__traverse": "^7.20.0",
"@types/escape-regexp": "0.0.1", "@types/escape-regexp": "0.0.1",
"@types/estree": "1.0.1", "@types/estree": "1.0.1",
"@types/gulp": "4.0.10", "@types/gulp": "4.0.10",

View file

@ -818,9 +818,6 @@ importers:
specifier: next specifier: next
version: 4.1.0(vue@3.3.4) version: 4.1.0(vue@3.3.4)
devDependencies: devDependencies:
'@babel/types':
specifier: ^7.22.4
version: 7.22.4
'@storybook/addon-actions': '@storybook/addon-actions':
specifier: 7.0.18 specifier: 7.0.18
version: 7.0.18(react-dom@18.2.0)(react@18.2.0) version: 7.0.18(react-dom@18.2.0)(react@18.2.0)
@ -881,9 +878,6 @@ importers:
'@testing-library/vue': '@testing-library/vue':
specifier: 7.0.0 specifier: 7.0.0
version: 7.0.0(@vue/compiler-sfc@3.3.4)(vue@3.3.4) version: 7.0.0(@vue/compiler-sfc@3.3.4)(vue@3.3.4)
'@types/babel__traverse':
specifier: ^7.20.0
version: 7.20.0
'@types/escape-regexp': '@types/escape-regexp':
specifier: 0.0.1 specifier: 0.0.1
version: 0.0.1 version: 0.0.1