From 8264f50062f5a192e93b687e705a90596bfcc9aa Mon Sep 17 00:00:00 2001 From: David Mehren Date: Thu, 18 Oct 2018 13:50:45 +0200 Subject: Use const instead of var in webpack configs. Signed-off-by: David Mehren --- webpack.common.js | 12 ++++++------ 1 file 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 = { -- cgit v1.2.3