mirror of
https://github.com/Microsoft/vscode
synced 2024-08-25 03:56:03 +00:00
use const instead of var
This commit is contained in:
parent
2e881b9fe1
commit
ccd38490b2
|
@ -9,7 +9,7 @@
|
|||
|
||||
const withDefaults = require('../shared.webpack.config');
|
||||
const path = require('path');
|
||||
var webpack = require('webpack');
|
||||
const webpack = require('webpack');
|
||||
|
||||
const config = withDefaults({
|
||||
context: path.join(__dirname, 'client'),
|
||||
|
@ -25,4 +25,4 @@ const config = withDefaults({
|
|||
// add plugin, don't replace inherited
|
||||
config.plugins.push(new webpack.IgnorePlugin(/vertx/)); // request-light dependency
|
||||
|
||||
module.exports = config;
|
||||
module.exports = config;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
const withDefaults = require('../../shared.webpack.config');
|
||||
const path = require('path');
|
||||
var webpack = require('webpack');
|
||||
const webpack = require('webpack');
|
||||
|
||||
const config = withDefaults({
|
||||
context: path.join(__dirname),
|
||||
|
|
Loading…
Reference in a new issue