Skip to content
This repository has been archived by the owner on Jan 18, 2019. It is now read-only.

Commit

Permalink
fix(deprecation): remove obsolete dedupe plugin
Browse files Browse the repository at this point in the history
see #12
  • Loading branch information
hypery2k committed Jan 19, 2017
1 parent 037cc1b commit 2aa84c8
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions etc/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const ProvidePlugin = webpack.ProvidePlugin;
const DefinePlugin = webpack.DefinePlugin;
const NormalModuleReplacementPlugin = webpack.NormalModuleReplacementPlugin;
const IgnorePlugin = webpack.IgnorePlugin;
const DedupePlugin = webpack.optimize.DedupePlugin;
const UglifyJsPlugin = webpack.optimize.UglifyJsPlugin;
const WebpackMd5Hash = require('webpack-md5-hash');

Expand Down Expand Up @@ -109,16 +108,6 @@ module.exports = webpackMerge(commonConfig, {
*/
new WebpackMd5Hash(),

/**
* Plugin: DedupePlugin
* Description: Prevents the inclusion of duplicate code into your bundle
* and instead applies a copy of the function at runtime.
*
* See: https://webpack.github.io/docs/list-of-plugins.html#defineplugin
* See: https://github.com/webpack/docs/wiki/optimization#deduplication
*/
new DedupePlugin(),

/**
* Plugin: DefinePlugin
* Description: Define free variables.
Expand Down

0 comments on commit 2aa84c8

Please sign in to comment.