Skip to content

Commit

Permalink
Absolute paths in webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
MattSurabian committed Feb 15, 2017
1 parent 19e448f commit 809061a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ module.exports = {
},
plugins: [
new HardSourcePlugin({
cacheDirectory: '../node_modules/.cache/hardsource/[confighash]',
recordsPath: '../node_modules/.cache/hardsource/[confighash]/records.json',
cacheDirectory: path.join(__dirname, 'node_modules/.cache/hardsource/[confighash]'),
recordsPath: path.join(__dirname, 'node_modules/.cache/hardsource/[confighash]/records.json'),
configHash: function(webpackConfig) {
return require('node-object-hash')().hash(webpackConfig);
}
Expand Down

0 comments on commit 809061a

Please sign in to comment.