We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea2d7b2 commit a8ad0f6Copy full SHA for a8ad0f6
1 file changed
README.md
@@ -32,20 +32,22 @@ module.exports = {
32
{
33
test: /\.tsx?$/,
34
use: [
35
- [
36
- 'ui-component-loader', {
+ 'ts-loader',
+ {
37
+ loader: 'ui-component-loader',
38
+ options: {
39
'lib': 'antd',
40
'style': 'style/index.css',
41
}
- ],
- 'ts-loader'
42
+ },
43
],
44
include: path.resolve(__dirname, 'node_modules/antd')
45
},
46
]
47
48
};
49
```
50
+> The order of loaders has no require, but the source code pass to ui-component-loader must use ES6 module syntax.
51
52
## Options
53
- **lib**: library want to replace,value is name in npm.
0 commit comments