Skip to content

Commit

Permalink
Remove unnecessary dependency and module require calls
Browse files Browse the repository at this point in the history
  • Loading branch information
mzgoddard committed Dec 11, 2017
1 parent 4245f80 commit 445e742
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,13 @@ var Promise = require('bluebird');
var nodeObjectHash = require('node-object-hash');

var envHash = require('./lib/env-hash');
// try {
// envHash = require('env-hash');
// envHash = envHash.default || envHash;
// }
// catch (_) {
// envHash = function() {
// return Promise.resolve('');
// };
// }

var AMDDefineDependency = require('webpack/lib/dependencies/AMDDefineDependency');

var AMDRequireContextDependency = require('webpack/lib/dependencies/AMDRequireContextDependency');
var AsyncDependenciesBlock = require('webpack/lib/AsyncDependenciesBlock');
var CommonJsRequireContextDependency = require('webpack/lib/dependencies/CommonJsRequireContextDependency');
var ConstDependency = require('webpack/lib/dependencies/ConstDependency');
var ContextDependency = require('webpack/lib/dependencies/ContextDependency');
var RequireContextDependency = require('webpack/lib/dependencies/RequireContextDependency');
var RequireResolveContextDependency = require('webpack/lib/dependencies/RequireResolveContextDependency');
var SingleEntryDependency = require('webpack/lib/dependencies/SingleEntryDependency');

var ContextModule = require('webpack/lib/ContextModule');
var NormalModule = require('webpack/lib/NormalModule');
try{
var NullDependencyTemplate = require('webpack/lib/dependencies/NullDependencyTemplate');
} catch(ex) {
Expand Down

0 comments on commit 445e742

Please sign in to comment.