diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-09-01 07:33:04 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-09-01 07:33:04 +0900 |
| commit | fd07f00d140d8a703f8f3438d42eb014aabe91fc (patch) | |
| tree | adfa0eea2cd1c9cc2f29f852ca93c3fc126078c0 /webpack.config.ts | |
| parent | Merge branch 'develop' (diff) | |
| download | sharkey-fd07f00d140d8a703f8f3438d42eb014aabe91fc.tar.gz sharkey-fd07f00d140d8a703f8f3438d42eb014aabe91fc.tar.bz2 sharkey-fd07f00d140d8a703f8f3438d42eb014aabe91fc.zip | |
#2551
Diffstat (limited to 'webpack.config.ts')
| -rw-r--r-- | webpack.config.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webpack.config.ts b/webpack.config.ts index e520c59a92..ad67530f51 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -5,6 +5,7 @@ import * as fs from 'fs'; import * as webpack from 'webpack'; import chalk from 'chalk'; +import rndstr from 'rndstr'; const { VueLoaderPlugin } = require('vue-loader'); const jsonImporter = require('node-sass-json-importer'); const minifyHtml = require('html-minifier').minify; @@ -19,7 +20,7 @@ const constants = require('./src/const.json'); const locales = require('./locales'); const meta = require('./package.json'); -const version = meta.clientVersion; +const version = meta.clientVersion + '-' + rndstr({ length: 8, chars: '0-9a-z' }); const codename = meta.codename; declare var global: { |