chore: importing the ESBuildMinifyPlugin with require instead
Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
@@ -16,7 +16,8 @@
|
||||
|
||||
import { WebpackOptionsNormalized } from 'webpack';
|
||||
import { BundlingOptions } from './types';
|
||||
import { ESBuildMinifyPlugin } from 'esbuild-loader';
|
||||
|
||||
const { ESBuildMinifyPlugin } = require('esbuild-loader');
|
||||
|
||||
export const optimization = (
|
||||
options: BundlingOptions,
|
||||
|
||||
Reference in New Issue
Block a user