Skip to content

Commit 3dd1107

Browse files
committed
fix: explicitly import webpack as type
1 parent a89e486 commit 3dd1107

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import {
33
RawSource as WP4RawSource,
44
SourceMapSource as WP4SourceMapSource,
55
} from 'webpack-sources';
6-
import webpack4 from 'webpack';
7-
import webpack5 from 'webpack5';
6+
import type webpack4 from 'webpack';
7+
import type webpack5 from 'webpack5';
88
import ModuleFilenameHelpers from 'webpack/lib/ModuleFilenameHelpers.js';
99
import { version } from '../package.json';
1010
import type { EsbuildPluginOptions } from './types.js';

0 commit comments

Comments
 (0)