From 9308a2800be39d13855489f22544184c51954c3f Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Mon, 4 Nov 2024 23:05:13 +0100 Subject: [PATCH] fix --- packages/state/vite/stateProviderDirective.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/state/vite/stateProviderDirective.ts b/packages/state/vite/stateProviderDirective.ts index 51f328e..b1443a4 100644 --- a/packages/state/vite/stateProviderDirective.ts +++ b/packages/state/vite/stateProviderDirective.ts @@ -1,9 +1,6 @@ -import { Plugin } from 'vite'; -import * as magicast from 'magicast'; -import { Program, traverseFast } from '@babel/types'; import * as babel from '@babel/core'; import { basename } from 'node:path'; -import * as t from '@babel/types'; +import { Plugin } from 'vite'; import { babelReplaceStateProviderDirective } from './internal/replaceStateProviderDirective'; export function stateProviderDirective(): Plugin { @@ -35,7 +32,6 @@ export function stateProviderDirective(): Plugin { }); if (result) { - console.log(result.code); return { code: result.code || '', map: result.map,