We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a89e486 commit 3dd1107Copy full SHA for 3dd1107
src/plugin.ts
@@ -3,8 +3,8 @@ import {
3
RawSource as WP4RawSource,
4
SourceMapSource as WP4SourceMapSource,
5
} from 'webpack-sources';
6
-import webpack4 from 'webpack';
7
-import webpack5 from 'webpack5';
+import type webpack4 from 'webpack';
+import type webpack5 from 'webpack5';
8
import ModuleFilenameHelpers from 'webpack/lib/ModuleFilenameHelpers.js';
9
import { version } from '../package.json';
10
import type { EsbuildPluginOptions } from './types.js';
0 commit comments