Skip to content
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(symlinked resources): configure the babelWD #236

Closed
wants to merge 1 commit into from

Conversation

briandipalma
Copy link

By specifying the babelWD as being the process cwd we allow preset and
plugin resolution to occur relative to the directory where webpack is
running. This should resolve issues where presets and plugins could not
be resolved.

closes: #166, #179

By specifying the `babelWD` as being the process cwd we allow preset and
plugin resolution to occur relative to the directory where webpack is
running. This should resolve issues where presets and plugins could not
be resolved.

closes: babel#166, babel#179
@briandipalma
Copy link
Author

This PR depends on a babel PR being merged babel/babel#3454

@loganfsmyth
Copy link
Member

Babel 7.x now has a cwd option that defaults to process.cwd() and is used to resolve string-paths plugins/presets/paths passed to Babel via babel-loader's options. Given that, this should be resolved.

@loganfsmyth loganfsmyth closed this Sep 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

resolveLoader.root not being taken into account?
3 participants