isomorphic-style-loader
isomorphic-style-loader copied to clipboard
antd-mobile icon issue with withStyle
antd-mobile\lib\icon\style\index.css:1\n(function (exports, require, module, __filename, __dirname) { .am-icon {\n ^\n\nSyntaxError: Unexpected token .\n at createScript (vm.js:80:10)\n at Object.runInThisContext (vm.js:139:10)\n at Module._compile (module.js:599:28)\n at Module._extensions..js (module.js:646:10)\n at Object.newLoader [as .js] (d:\codes\web-app-h5\node_modules\pirates\lib\index.js:93:7)\n at Module.load (module.js:554:32)\n at tryModuleLoad (module.js:497:12)\n at Function.Module._load (module.js:489:3)\n at Module.require (module.js:579:17)\n at require (internal/module.js:11:18)" } TypeError: Cannot read property 'apply' of undefined
.am-icon { fill: currentColor; background-size: cover; width: 22px; height: 22px; }