Browse Source

convert var to const in webpack configs

pull/577/head
koalyptus 3 years ago
parent
commit
2452a0bd9e
  1. 6
      webpack.dev.config.js
  2. 8
      webpack.test.config.js

6
webpack.dev.config.js

@ -1,6 +1,6 @@
var webpackConfig = require('./webpack.config.js');
var webpack = require('webpack');
var StringReplacePlugin = require('string-replace-webpack-plugin');
const webpackConfig = require('./webpack.config.js');
const webpack = require('webpack');
const StringReplacePlugin = require('string-replace-webpack-plugin');
module.exports = {
mode: 'development',

8
webpack.test.config.js

@ -1,7 +1,7 @@
var webpack = require('webpack');
var webpackConfig = require('./webpack.config.js');
var path = require('path');
var Clean = require('clean-webpack-plugin');
const webpack = require('webpack');
const webpackConfig = require('./webpack.config.js');
const path = require('path');
const Clean = require('clean-webpack-plugin');
module.exports = {
mode: 'development',

Loading…
Cancel
Save