Skip to content

Commit 7c8233c

Browse files
committed
refactor: move swc helpers to babelSwcLoader
1 parent 08c756d commit 7c8233c

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

packages/repack/src/loaders/babelSwcLoader/babelSwcLoader.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import type { TransformOptions } from '@babel/core';
22
import type { LoaderContext, SwcLoaderOptions } from '@rspack/core';
3+
import { transform } from '../babelLoader/babelLoader.js';
4+
import type { BabelSwcLoaderOptions } from './options.js';
35
import {
46
getSupportedSwcConfigurableTransforms,
57
getSupportedSwcCustomTransforms,
68
getSupportedSwcNormalTransforms,
7-
} from '../../utils/internal/index.js';
8-
import { transform } from '../babelLoader/babelLoader.js';
9-
import type { BabelSwcLoaderOptions } from './options.js';
9+
} from './swc.js';
1010
import {
1111
checkParallelModeAvailable,
1212
getProjectBabelConfig,
File renamed without changes.

packages/repack/src/utils/internal/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)