I am tracing the javascript file, in this code snippnet, I found that the loaded css did not contains local, this is the source code:
/***/ "./node_modules/element-ui/lib/theme-chalk/message.css":
/*!*************************************************************!*\
!*** ./node_modules/element-ui/lib/theme-chalk/message.css ***!
\*************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
// style-loader: Adds some css to the DOM by adding a <style> tag
// load the styles
var content = __webpack_require__(/*! !../../../mini-css-extract-plugin/dist/loader.js!../../../css-loader/dist/cjs.js??ref--2-2!../../../postcss-loader/src??ref--2-3!./message.css */ "./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js?!./node_modules/postcss-loader/src/index.js?!./node_modules/element-ui/lib/theme-chalk/message.css");
if(content.__esModule) content = content.default;
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
the content look like this:
the content did not contains local, which will encount error in the next code block:
if(content.locals) module.exports = content.locals;
why the content did not contains locals? what should I to to let it contains locals? anyone fimiliar with the element ui?