diff options
| author | Henry Jameson <me@hjkos.com> | 2018-12-11 18:45:25 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-12-11 18:45:25 +0300 |
| commit | b839ba7870c2872607ebf3ae41a8c08f17a7dde7 (patch) | |
| tree | de8941179df23da234f46428a6b899c4e07d7c2e /build/webpack.dev.conf.js | |
| parent | fb5261b926adfb5b9bbe1bf55e36fe8b5f4eb57f (diff) | |
Quality of Frontend Developer's Life: here to stay
Diffstat (limited to 'build/webpack.dev.conf.js')
| -rw-r--r-- | build/webpack.dev.conf.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build/webpack.dev.conf.js b/build/webpack.dev.conf.js index 7e1a104f..9f34619c 100644 --- a/build/webpack.dev.conf.js +++ b/build/webpack.dev.conf.js @@ -18,7 +18,9 @@ module.exports = merge(baseWebpackConfig, { devtool: '#eval-source-map', plugins: [ new webpack.DefinePlugin({ - 'process.env': config.dev.env + 'process.env': config.dev.env, + 'COMMIT_HASH': JSON.stringify('DEV'), + 'DEV_OVERRIDES': JSON.stringify(config.dev.settings) }), // https://github.com/glenjamin/webpack-hot-middleware#installation--usage new webpack.optimize.OccurenceOrderPlugin(), |
