Use case-sensitive-paths-webpack-plugin #31303
Unanswered
doctorpangloss
asked this question in
Ideas / Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Related to webpack/webpack#5543
Case sensitivity of imports causes errors on your Gatsby Cloud environment whereas case insensitive file systems on the user's local machine do not cause the error.
Steps to reproduce
A.js
.b.js
.b.js
, add the statement:import * as A from 'a'
.You can see a production error similar to this here.
Expected result
You probably want to be case sensitive and issue an error using https://github.com/Urthen/case-sensitive-paths-webpack-plugin by bundling that plugin into Gatsby's build process by default.
Actual result
Triggered builds fail for the case sensitivity issue.
Environment
Beta Was this translation helpful? Give feedback.
All reactions