File tree Expand file tree Collapse file tree
build-tests/localization-plugin-test Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 "webpack" : " ~4.31.0" ,
1818 "webpack-bundle-analyzer" : " ~3.6.0" ,
1919 "webpack-cli" : " ~3.3.2" ,
20- "webpack-dev-server" : " ~3.9.0"
20+ "webpack-dev-server" : " ~3.9.0" ,
21+ "html-webpack-plugin" : " ~3.2.0"
2122 }
2223}
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ const webpack = require('webpack');
66const { LocalizationPlugin } = require ( '@rushstack/localization-plugin' ) ;
77const { SetPublicPathPlugin } = require ( '@microsoft/set-webpack-public-path-plugin' ) ;
88const { BundleAnalyzerPlugin } = require ( 'webpack-bundle-analyzer' ) ;
9+ const HtmlWebpackPlugin = require ( 'html-webpack-plugin' ) ;
910
1011module . exports = function ( env ) {
1112 const configuration = {
@@ -105,7 +106,8 @@ module.exports = function(env) {
105106 name : '[name]_[locale]_[contenthash].js' ,
106107 isTokenized : true
107108 }
108- } )
109+ } ) ,
110+ new HtmlWebpackPlugin ( )
109111 ]
110112 } ;
111113
Original file line number Diff line number Diff line change 390390 "name" : " gulp-typescript" ,
391391 "allowedCategories" : [ " libraries" ]
392392 },
393+ {
394+ "name" : " html-webpack-plugin" ,
395+ "allowedCategories" : [ " tests" ]
396+ },
393397 {
394398 "name" : " https-proxy-agent" ,
395399 "allowedCategories" : [ " libraries" ]
You can’t perform that action at this time.
0 commit comments