Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

[webpack] Use proper project context#3767

Merged
EvanBacon merged 2 commits intomasterfrom
@evanbacon/webpack-config/use-project-context
Aug 13, 2021
Merged

[webpack] Use proper project context#3767
EvanBacon merged 2 commits intomasterfrom
@evanbacon/webpack-config/use-project-context

Conversation

@EvanBacon
Copy link
Copy Markdown
Contributor

Why

Webpack config's context property must point to the project root (where the webpack.config.js would normally be located). If this is anywhere else, the source maps and errors won't show correct paths.

@EvanBacon EvanBacon mentioned this pull request Aug 12, 2021
1 task
@EvanBacon EvanBacon merged commit 9e00046 into master Aug 13, 2021
@EvanBacon EvanBacon deleted the @evanbacon/webpack-config/use-project-context branch August 13, 2021 18:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant