Skip to content

Commit

Permalink
remove erroneous check on DefinePlugin (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-gadd authored and agubler committed Oct 17, 2019
1 parent dc67e5c commit 1b85b0d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/base.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1b85b0d

Please sign in to comment.