Skip to content

Commit

Permalink
fix(aws-amplify-react): BREAKING - Remove "import '@aws-amplify… (#5138)
Browse files Browse the repository at this point in the history
Importing non-JS files relies on a bundler & breaks SSR.

It works with CRA because CRA *builds all dependencies*, just-in-case.
  • Loading branch information
ericclemmons authored Mar 18, 2020
1 parent a81cdd7 commit 1cad8b9
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import * as React from 'react';

import { objectLessAttributes } from '@aws-amplify/core';

import '@aws-amplify/ui/dist/style.css';
import * as AmplifyUI from '@aws-amplify/ui';

import AmplifyTheme from './Amplify-UI-Theme';
Expand Down

0 comments on commit 1cad8b9

Please sign in to comment.