Tcsm
2023-09-25 380728d2f235e0253df0fc1c558874a549cf0256
1
2
3
4
5
6
// eslint-disable-next-line import/no-extraneous-dependencies
const webpackPkg = require('webpack/package.json');
 
const webpackMajorVersion = parseInt(webpackPkg.version.split('.')[0], 10);
 
module.exports = webpackMajorVersion === 1;