Created
October 6, 2018 09:57
-
-
Save theKashey/b8dfc49eff34b5fa44d4e2af164ad6cd to your computer and use it in GitHub Desktop.
preact
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| // ... | |
| resolve: { | |
| alias: { | |
| 'react': 'preact-compat', | |
| 'react-dom': 'preact-compat', | |
| // Not necessary unless you consume a module using `createClass` | |
| 'create-react-class': 'preact-compat/lib/create-react-class', | |
| // Not necessary unless you consume a module requiring `react-dom-factories` | |
| 'react-dom-factories': 'preact-compat/lib/react-dom-factories' | |
| } | |
| } | |
| // ... | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment