summaryrefslogtreecommitdiff
path: root/webpack/plugins/const.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webpack/plugins/const.ts')
-rw-r--r--webpack/plugins/const.ts14
1 files changed, 0 insertions, 14 deletions
diff --git a/webpack/plugins/const.ts b/webpack/plugins/const.ts
deleted file mode 100644
index f64160b01a..0000000000
--- a/webpack/plugins/const.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
- * Constant Replacer
- */
-
-import * as webpack from 'webpack';
-
-import version from '../../src/version';
-const constants = require('../../src/const.json');
-
-export default lang => new webpack.DefinePlugin({
- VERSION: JSON.stringify(version),
- LANG: JSON.stringify(lang),
- THEME_COLOR: JSON.stringify(constants.themeColor)
-});