summaryrefslogtreecommitdiff
path: root/webpack/plugins/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webpack/plugins/index.ts')
-rw-r--r--webpack/plugins/index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/webpack/plugins/index.ts b/webpack/plugins/index.ts
index 24782a1de6..3d1416d1ea 100644
--- a/webpack/plugins/index.ts
+++ b/webpack/plugins/index.ts
@@ -1,5 +1,6 @@
const StringReplacePlugin = require('string-replace-webpack-plugin');
+import consts from './consts';
import hoist from './hoist';
//import minify from './minify';
import banner from './banner';
@@ -9,6 +10,7 @@ const isProduction = env === 'production';
export default (version, lang) => {
const plugins = [
+ consts(lang),
new StringReplacePlugin(),
hoist()
];