aboutsummaryrefslogtreecommitdiff
path: root/build/webpack.dev.conf.js
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2018-12-13 14:42:58 +0000
committerShpuld Shpludson <shp@cock.li>2018-12-13 14:42:58 +0000
commitdbe79a3c2673b9a14bd8f3b037eca5999dd6a018 (patch)
treedc01a9b95e98e8268b913ab209adffcece43a135 /build/webpack.dev.conf.js
parentc824d2537884fb736ce7fe1263875b87d3c00c81 (diff)
parentc54eb1ecad33c4e45868ca35bcaa5404a1bfd0cd (diff)
Merge branch 'dev-qol' into 'develop'
Several fixes to make life of contributors a tiny bit easier. See merge request pleroma/pleroma-fe!409
Diffstat (limited to 'build/webpack.dev.conf.js')
-rw-r--r--build/webpack.dev.conf.js4
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(),