We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi and thanks for your amazing work on rackt libraries ! I was wondering why you rename the dependency here on your webpack config https://github.com/mzabriskie/rackt-cli/blob/master/webpack.build.js#L27
externals: { 'react': 'React', 'react/addons': 'React', 'react-dom': 'ReactDOM' }
in my project we require react with the standard name react so for example this other lib of ract fail to find React at runtime... https://github.com/rackt/react-autocomplete/blob/master/dist/react-autocomplete.js#L5.
react
React
I'm forced to create a proxy module which is ugly: define('React', ['react'], react => react)
define('React', ['react'], react => react)
Thanks, Thibault.
The text was updated successfully, but these errors were encountered:
I'm having the exact same issue. Because of it:
Cannot find module 'React' from [...]
I'm using Browserify to bundle my project, which may not process package names as Webpack does.
Sorry, something went wrong.
No branches or pull requests
Hi and thanks for your amazing work on rackt libraries !
I was wondering why you rename the dependency here on your webpack config https://github.com/mzabriskie/rackt-cli/blob/master/webpack.build.js#L27
in my project we require react with the standard name
react
so for example this other lib of ract fail to findReact
at runtime... https://github.com/rackt/react-autocomplete/blob/master/dist/react-autocomplete.js#L5.I'm forced to create a proxy module which is ugly:
define('React', ['react'], react => react)
Thanks,
Thibault.
The text was updated successfully, but these errors were encountered: