File tree 1 file changed +2
-2
lines changed
packages/create-plugin/templates/common/.config/webpack
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import path from 'path';
12
12
import ReplaceInFileWebpackPlugin from 'replace-in-file-webpack-plugin' ;
13
13
import TerserPlugin from 'terser-webpack-plugin' ;
14
14
import { SubresourceIntegrityPlugin } from "webpack-subresource-integrity" ;
15
- import { type Configuration , BannerPlugin } from 'webpack' ;
15
+ import webpack , { type Configuration } from 'webpack' ;
16
16
import LiveReloadPlugin from 'webpack-livereload-plugin' ;
17
17
import VirtualModulesPlugin from 'webpack-virtual-modules' ;
18
18
@@ -196,7 +196,7 @@ const config = async (env: Env): Promise<Configuration> => {
196
196
new BuildModeWebpackPlugin ( ) ,
197
197
virtualPublicPath ,
198
198
// Insert create plugin version information into the bundle
199
- new BannerPlugin ( {
199
+ new webpack . BannerPlugin ( {
200
200
banner : "/* [create-plugin] version: " + cpVersion + " */" ,
201
201
raw : true ,
202
202
entryOnly : true ,
You can’t perform that action at this time.
0 commit comments