Skip to content

Commit ccd3849

Browse files
committed
use const instead of var
1 parent 2e881b9 commit ccd3849

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

extensions/json-language-features/extension.webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
const withDefaults = require('../shared.webpack.config');
1111
const path = require('path');
12-
var webpack = require('webpack');
12+
const webpack = require('webpack');
1313

1414
const config = withDefaults({
1515
context: path.join(__dirname, 'client'),
@@ -25,4 +25,4 @@ const config = withDefaults({
2525
// add plugin, don't replace inherited
2626
config.plugins.push(new webpack.IgnorePlugin(/vertx/)); // request-light dependency
2727

28-
module.exports = config;
28+
module.exports = config;

extensions/json-language-features/server/extension.webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
const withDefaults = require('../../shared.webpack.config');
1111
const path = require('path');
12-
var webpack = require('webpack');
12+
const webpack = require('webpack');
1313

1414
const config = withDefaults({
1515
context: path.join(__dirname),

0 commit comments

Comments
 (0)