babel-plugin-import-fix icon indicating copy to clipboard operation
babel-plugin-import-fix copied to clipboard

用户配置不覆盖默认配置

Open happylindz opened this issue 6 years ago • 0 comments

{
  "presets": [["env", { "modules": false }], "react"],
  "plugins": [
    "babel-plugin-transform-decorators-legacy",
    "transform-object-rest-spread",
    "transform-class-properties",
    ["import-fix", {
      "libraryName": "antd",
      "libraryPath": "antd/lib/${name}/index.js",
      "namePolicy": "dash",
      "cssPath": ""
    }]
  ]
}

我将 cssPath 置空,但是还是会按照默认配置进行读取,我看之前有人提了 issue,但还是存在这个问题?

happylindz avatar Apr 16 '18 14:04 happylindz