diff options
author | David Mehren | 2018-10-18 13:50:45 +0200 |
---|---|---|
committer | David Mehren | 2018-10-19 12:46:39 +0200 |
commit | 8264f50062f5a192e93b687e705a90596bfcc9aa (patch) | |
tree | d299636995411c39bb8d43656c09bd1fade580a7 | |
parent | c97027b897378d79be8d937f7a0c2605b7cdb017 (diff) |
Use const instead of var in webpack configs.
Signed-off-by: David Mehren <dmehren1@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | webpack.common.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/webpack.common.js b/webpack.common.js index efd2b3e2..f20e2882 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -1,12 +1,12 @@ -var webpack = require('webpack') -var path = require('path') -var HtmlWebpackPlugin = require('html-webpack-plugin') -var CopyWebpackPlugin = require('copy-webpack-plugin') +const webpack = require('webpack') +const path = require('path') +const HtmlWebpackPlugin = require('html-webpack-plugin') +const CopyWebpackPlugin = require('copy-webpack-plugin') const MiniCssExtractPlugin = require('mini-css-extract-plugin') // Fix possible nofile-issues -var fs = require('fs') -var gracefulFs = require('graceful-fs') +const fs = require('fs') +const gracefulFs = require('graceful-fs') gracefulFs.gracefulify(fs) module.exports = { |