diff options
| author | mokha <mokha@cisco.com> | 2018-09-29 09:56:17 -0600 |
|---|---|---|
| committer | mokha <mokha@cisco.com> | 2018-09-29 09:56:17 -0600 |
| commit | a66de86fd7e6d902de53d736d9c75902e2ee3263 (patch) | |
| tree | 66cc3520ececd1abed92e35e1b7706a230af4274 /webpack.config.js | |
| parent | a6235c463c6b6ac42bcf4ae6568be0687a59538d (diff) | |
insert git revision in banner
Diffstat (limited to 'webpack.config.js')
| -rw-r--r-- | webpack.config.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js index 05bc7cd..61f56c9 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -19,6 +19,7 @@ const commonConfig = merge([ }, parts.loadJavaScript({ include: PATHS.app }), ]); + const productionConfig = merge([ parts.clean(PATHS.build), parts.generateSourceMaps({ type: 'source-map' }), @@ -47,7 +48,9 @@ const productionConfig = merge([ } } }, + parts.attachRevision(), ]); + const developmentConfig = merge([ parts.devServer({ host: process.env.HOST, |
