我有一个.less文件,其中包含一些使用在另一个文件中定义的变量的定义。:\PATH\npm\node_modules\less\lib\less\parser.js:221:19) at Object.toCSS (C:\PATH\npm\node_modules\less\lib\less\parser.js:385:31) at C:\PATH\npm\node_modules,TypeError:无法调用未定义的方法“charAt”减\bin\
假设我有这个库文件mylibrary.js add: function (a, b) {return a + b;},};const mylibrary = require('mylibrary'); // CommonJS目前,我正在使用以下webpack.config.js,但它在名为mylibrary的对象下公开了