Browse Source

Chore: replace `var` in webpack config (#11267)

Super 7 năm trước cách đây
mục cha
commit
d449c42926
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      build/webpack.component.js

+ 1 - 1
build/webpack.component.js

@@ -2,7 +2,7 @@ const path = require('path');
 const webpack = require('webpack');
 const ProgressBarPlugin = require('progress-bar-webpack-plugin');
 
-var Components = require('../components.json');
+const Components = require('../components.json');
 const config = require('./config');
 
 const webpackConfig = {