-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
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
Fix build issues #2001
Fix build issues #2001
Conversation
@@ -315,6 +315,7 @@ module.exports = { | |||
resolve: { | |||
mainFields: ['browser', 'module', 'jsnext:main', 'main'], | |||
modules: [ | |||
path.resolve(__dirname, '../node_modules'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this one needed as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, otherwise webpack resolves the below node_modules
to the hoisted root node_modules
, and not app/node_modules
, for some (not yet clear to me) reason.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, that's weird, oh well!
Should be ready to merge. |
…pe removed, and: - remove unneeded code from webpack config - fix PR build URL to use https - fix the a11y linting bug - extract jest messages to common
@lbogdan Shouldn't we make an issue/PR upstream too to fix the bug? 🤔 |
Since it's fixed upstream, I've updated the |
…pe removed, and: (codesandbox#2001) - remove unneeded code from webpack config - fix PR build URL to use https - fix the a11y linting bug - extract jest messages to common
This fixes the current build issues caused by an apparent bug in
babel-eslint@10.0.1
byupgrading tousing ourbabel-eslint@11.0.0-beta.0
babel-eslink
fork, from which we removed thepatch-eslint-scope
reference:There's also a few small fixes, see the commit message.