@@ -10,10 +10,10 @@ const nodeExternals = require("webpack-node-externals");
1010const CopyWebpackPlugin = require ( "copy-webpack-plugin" ) ;
1111const { ESBuildMinifyPlugin } = require ( "esbuild-loader" ) ;
1212const ConcatTextPlugin = require ( "concat-text-webpack-plugin" ) ;
13+ const { BundleAnalyzerPlugin } = require ( "webpack-bundle-analyzer" ) ;
1314const TsconfigPathsPlugin = require ( "tsconfig-paths-webpack-plugin" ) ;
1415const PermissionsOutputPlugin = require ( "webpack-permissions-plugin" ) ;
1516const ForkTsCheckerWebpackPlugin = require ( "fork-ts-checker-webpack-plugin" ) ;
16- const { BundleAnalyzerPlugin } = require ( "webpack-bundle-analyzer" ) ;
1717
1818const config = require ( "./config" ) ;
1919
@@ -41,13 +41,13 @@ const rawFileExtensions = config.options.rawFileExtensions;
4141const fixPackages = convertListToObject ( config . options . fixPackages ) ;
4242const tsConfigPath = path . resolve ( servicePath , config . options . tsConfig ) ;
4343
44- const GENERATE_STATS_FILES = config . options . generateStatsFiles ;
4544const ENABLE_ESBUILD = config . options . esbuild ;
4645const ENABLE_STATS = config . options . stats ;
4746const ENABLE_LINTING = config . options . linting ;
4847const ENABLE_SOURCE_MAPS = config . options . sourcemaps ;
4948const ENABLE_TYPESCRIPT = fs . existsSync ( tsConfigPath ) ;
5049const ENABLE_TSCHECKER = ! config . options . disableForkTsChecker ;
50+ const GENERATE_STATS_FILES = config . options . generateStatsFiles ;
5151const ENABLE_CACHING = isLocal ? config . options . caching : false ;
5252
5353// Handle the "all" option in externals
0 commit comments