Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自定义组件库引入后依赖的less文件找不到 #1315

Open
jdh opened this issue Jul 27, 2020 · 0 comments
Open

自定义组件库引入后依赖的less文件找不到 #1315

jdh opened this issue Jul 27, 2020 · 0 comments

Comments

@jdh
Copy link

jdh commented Jul 27, 2020

  • 操作系统:macos 10.14.6
  • Node版本:v12.6.0
  • FIS版本: 3.4.41
  • 解决方案:
    antd能正常使用,把antd包改个名字 @jdh/antd,
    然后代码里引入 组件
    import { Input } from '@jdh/antd'
    报错:
    Uncaught [ModJS] Cannot find module ‘node_modules/@jdh/antd/lib/label-info-group/style/index.less’
  • 依赖插件:
    "fis-parser-babel-6.x": "^6.24.1", "fis-parser-less": "^0.1.3", "fis-parser-node-sass": "^1.0.5", "fis-parser-svgr": "^1.0.0", "fis3": "^3.4.41", "fis3-hook-commonjs": "^0.1.31", "fis3-hook-node_modules": "^2.3.1", "fis3-parser-typescript": "^1.3.0", "fis3-postpackager-loader": "^2.1.11", "fis3-prepackager-stand-alone-pack": "^1.0.0", "fis3-preprocessor-js-require-css": "^0.1.3",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant