Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardoperra committed Nov 4, 2024
1 parent c271d45 commit 9308a28
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/state/vite/stateProviderDirective.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down Expand Up @@ -35,7 +32,6 @@ export function stateProviderDirective(): Plugin {
});

if (result) {
console.log(result.code);
return {
code: result.code || '',
map: result.map,
Expand Down

0 comments on commit 9308a28

Please sign in to comment.