web-client-ui
web-client-ui copied to clipboard
@deephaven/components does not work with webpack
Description
With #1871, we added imports from react-transition-group/Transition and react-transition-group/CSSTransition. These are not valid ESM imports (they aren't listed as imports in the react-transition-group package.json) and webpack does not like this.
Steps to reproduce
- Create a project w/ webpack (e.g.
npx create-react-app) - Add something like
import { Button } from '@deephaven/components';and add the component to the app. - Run
npm start
Expected results
- Components work
Actual results
- Components do not work. create-react-app throws this error
Versions
- Web UI Version: 0.89.0