Last active
July 25, 2017 09:31
-
-
Save rmdort/3bd586a29febd3bd1e28bca7f5c3fcaf to your computer and use it in GitHub Desktop.
expose-loader redux react-redux
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
| { test: require.resolve("react"), loader: "expose-loader?React" }, | |
| { test: require.resolve("react-dom"), loader: "expose-loader?ReactDOM" }, | |
| { | |
| test: /redux\/es\/index.js/, | |
| use: [ | |
| { | |
| loader: 'expose-loader', | |
| options: 'Redux' | |
| } | |
| ] | |
| }, | |
| { | |
| test: /react-redux\/es\/index.js/, | |
| use: [ | |
| { | |
| loader: 'expose-loader', | |
| options: 'ReactRedux' | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment