File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const validateSchema = require("./validateSchema");
13
13
const WebpackOptionsValidationError = require ( "./WebpackOptionsValidationError" ) ;
14
14
const webpackOptionsSchema = require ( "../schemas/WebpackOptions.json" ) ;
15
15
const RemovedPluginError = require ( "./RemovedPluginError" ) ;
16
-
16
+ const version = require ( "../package.json" ) . version ;
17
17
const webpack = ( options , callback ) => {
18
18
const webpackOptionsValidationErrors = validateSchema (
19
19
webpackOptionsSchema ,
@@ -60,7 +60,7 @@ const webpack = (options, callback) => {
60
60
} ;
61
61
62
62
exports = module . exports = webpack ;
63
-
63
+ exports . version = version ;
64
64
webpack . WebpackOptionsDefaulter = WebpackOptionsDefaulter ;
65
65
webpack . WebpackOptionsApply = WebpackOptionsApply ;
66
66
webpack . Compiler = Compiler ;
You can’t perform that action at this time.
0 commit comments