File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const path = require("path");
44const glob = require ( "glob" ) ;
55const PurgeCSSPlugin = require ( "purgecss-webpack-plugin" ) ;
66const webpack = require ( "webpack" ) ;
7- const Grp = require ( "git-revision-webpack-plugin" ) ;
7+ const { GitRevisionPlugin } = require ( "git-revision-webpack-plugin" ) ;
88const TerserPlugin = require ( "terser-webpack-plugin" ) ;
99const CssMinimizerPlugin = require ( "css-minimizer-webpack-plugin" ) ;
1010const { MiniHtmlWebpackPlugin } = require ( "mini-html-webpack-plugin" ) ;
@@ -54,7 +54,7 @@ exports.minifyJavaScript = () => ({
5454exports . attachRevision = ( ) => ( {
5555 plugins : [
5656 new webpack . BannerPlugin ( {
57- banner : new Grp . GitRevisionPlugin ( ( ) . version ( ) ,
57+ banner : new GitRevisionPlugin ( ) . version ( ) ,
5858 } ) ,
5959 ] ,
6060} ) ;
You can’t perform that action at this time.
0 commit comments