Browse Source

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

Super 7 years ago
parent
commit
d449c42926
1 changed files with 1 additions and 1 deletions
  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 = {