ant-design / ant-design/compatible
v5-compatible-v4
- Dominant language
- TypeScript
- Stars
- 93
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
@MadCcc do i have to config less loader fot this
`import {Comment} from '@ant-design/compatible'`
```
error - ./node_modules/@ant-design/compatible/es/comment/style/index.less
Module parse failed: Unexpected character '@' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> @import '../../style/default';
| // @import '../../style/mixins/index';
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the import of @ant-design/compatible's Comment component and inspect the reported node_modules/@ant-design/compatible/es/comment/style/index.less path. Start by checking how this package is processed by the project's existing bundler configuration. Done means the import builds without the reported Unexpected character error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- webpack
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100