Skip to content

Commit

Permalink
Framework: allow debug everywhere (#12841)
Browse files Browse the repository at this point in the history
  • Loading branch information
samouri authored Jul 12, 2017
1 parent b90f732 commit e069350
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions client/lib/debug-noop/README.md

This file was deleted.

1 change: 0 additions & 1 deletion client/lib/debug-noop/index.js

This file was deleted.

7 changes: 0 additions & 7 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,13 +238,6 @@ if ( calypsoEnv === 'development' ) {
webpackConfig.devtool = false;
}

if ( calypsoEnv === 'production' ) {
webpackConfig.plugins.push( new webpack.NormalModuleReplacementPlugin(
/^debug$/,
path.join( __dirname, 'client', 'lib', 'debug-noop' )
) );
}

if ( ! config.isEnabled( 'desktop' ) ) {
webpackConfig.plugins.push( new webpack.NormalModuleReplacementPlugin( /^lib[\/\\]desktop$/, 'lodash/noop' ) );
}
Expand Down

0 comments on commit e069350

Please sign in to comment.