Skip to content

Commit

Permalink
fix: explicitly import webpack as type
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Jul 15, 2024
1 parent a89e486 commit 3dd1107
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import {
RawSource as WP4RawSource,
SourceMapSource as WP4SourceMapSource,
} from 'webpack-sources';
import webpack4 from 'webpack';
import webpack5 from 'webpack5';
import type webpack4 from 'webpack';
import type webpack5 from 'webpack5';
import ModuleFilenameHelpers from 'webpack/lib/ModuleFilenameHelpers.js';
import { version } from '../package.json';
import type { EsbuildPluginOptions } from './types.js';
Expand Down

0 comments on commit 3dd1107

Please sign in to comment.