DocSpring / craco-antd

A craco plugin to use Ant Design with create-react-app
MIT License
234 stars 49 forks source link

Update test run to use transpiled library and not include styles #41

Closed alistairjcbrown closed 4 years ago

alistairjcbrown commented 4 years ago

This change uses AntD code from lib/ instead of es/, using transpiled code as Jest will not transpile included code from node_modules. Styles are also not included. There is no change for build time, which continues to use the module code and pull styles.

Fixes #10 Fixes #24


alistairjcbrown commented 4 years ago

Ah, I see there's a PR that already tackled part of this - #31 Feel free to close this off if the direction taken in that PR is preferrable 👍

alistairjcbrown commented 4 years ago

PR #31 has been merged, so this PR is no longer required