Use const instead of var in webpack configs.

Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
David Mehren 2018-10-18 13:50:45 +02:00
parent c97027b897
commit 8264f50062
No known key found for this signature in database
GPG Key ID: 6017AF117F9756CB
1 changed files with 6 additions and 6 deletions

View File

@ -1,12 +1,12 @@
var webpack = require('webpack') const webpack = require('webpack')
var path = require('path') const path = require('path')
var HtmlWebpackPlugin = require('html-webpack-plugin') const HtmlWebpackPlugin = require('html-webpack-plugin')
var CopyWebpackPlugin = require('copy-webpack-plugin') const CopyWebpackPlugin = require('copy-webpack-plugin')
const MiniCssExtractPlugin = require('mini-css-extract-plugin') const MiniCssExtractPlugin = require('mini-css-extract-plugin')
// Fix possible nofile-issues // Fix possible nofile-issues
var fs = require('fs') const fs = require('fs')
var gracefulFs = require('graceful-fs') const gracefulFs = require('graceful-fs')
gracefulFs.gracefulify(fs) gracefulFs.gracefulify(fs)
module.exports = { module.exports = {