gregnb / gregnb/mui-datatables
setTableProps ignored in prod
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 906
- PR merge metrics
- No merged PRs in 30d
Description
When enabling dense table in my local with `setTableProps` as per example all works as expected. However when released the styles are ignored. The only difference seems to be when I have the env as production (although when in watch mode and production it works) bundling with parcel js.
Anyone else seen this?
Here you can see it working as expected:
https://codesandbox.io/s/happy-bhaskara-ft2vo
And here is a a small repo to show it working on `yarn start` but fails on `yarn build` then `yarn serve`
https://github.com/wroughtec/tableDemo
It seems to be an issue with production and parcel as the first version I tried with CRA exactly the same code only difference was the scripts worked.
| Tech | Version |
|--------------|---------|
| Material-UI | 4.7.0 |
| MUI-datatables | 2.13.0 |
| React | 16.12.0 |
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.