diff --git a/src/base.config.ts b/src/base.config.ts index c385a52d..f9759d9a 100644 --- a/src/base.config.ts +++ b/src/base.config.ts @@ -486,11 +486,10 @@ export default function webpackConfigFactory(args: any): webpack.Configuration { cldrPaths: args.cldrPaths, target: mainEntryPath }), - !singleBundle && - new webpack.DefinePlugin({ - __MAIN_ENTRY: JSON.stringify(mainEntryPath), - __DOJO_SCOPE: `'${libraryName}'` - }), + new webpack.DefinePlugin({ + __MAIN_ENTRY: JSON.stringify(mainEntryPath), + __DOJO_SCOPE: `'${libraryName}'` + }), !isExperimentalSpeed && new OptimizeCssAssetsPlugin({ cssProcessor: cssnano,