Skip to content

Commit

Permalink
fix: 🐛 webpack wrong import
Browse files Browse the repository at this point in the history
  • Loading branch information
garrylachman committed May 24, 2023
1 parent c6d5777 commit 8d5b5f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/webpack.main.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import TsconfigPathsPlugins from 'tsconfig-paths-webpack-plugin';
import { rules } from './webpack.rules';
import { sourceMainPath } from './webpack.paths';
import TerserPlugin from 'terser-webpack-plugin';
import { Configuration, IgnorePlugin } from 'webpack/types';
import { Configuration, IgnorePlugin } from 'webpack/lib';

export const mainConfig: Configuration = {
devtool: 'source-map',
Expand Down
2 changes: 1 addition & 1 deletion config/webpack.rules.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ModuleOptions } from 'webpack/types';
import { ModuleOptions } from 'webpack/lib';

export const rules: Required<ModuleOptions>['rules'] = [
// Add support for native node modules
Expand Down

0 comments on commit 8d5b5f7

Please sign in to comment.