-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
inconsistent case sensivity #862
Comments
I feel the lowest common denominator is POSIX compliance which the following volume formats abide by (for the most part): Linux and Derivatives ( ! OSX)√ Files MUST be case sensitive. (http://superuser.com/questions/431342/linux-both-case-sensitive-and-case-insensitive-and-always-inconvenient) Windows (NTFS)√ Files MUST be case sensitive (https://support.microsoft.com/en-us/kb/100625) Windows (VFAT | FAT32)√ Files MUST NOT be case sensitive OSX√ Files are SHOULD be case sensitive (but aren't). Therefore IMHO I feel like we should |
@snuggs I like the idea. From prior experience of being burned in similar situations, throwing the error is a nice gesture in comparison to the amount of potential time spent tracking something like this down. |
I actually opened a PR for this yonks ago – #630 – but forgot about it. Just merged it, will cut a release soon. Thanks |
Well that's what i'm here for @Rich-Harris a little healthy nudge. Until can be more productive. Got a great thing going on here. 👍 #FACTS |
Many thanks, may save me some head scratching time in future. |
Importing a module in two places using paths that are different only in case, but handled as case insensitive, results in two instances of the imported module in the resultant output. (Windows 10).
, rollup v 0.34.8
ie. file lookup is case insensitive
ie. module instancing is case sensitive based on path name differences.
Eg.
Module 1:
import { Materials } from './materials/Materials.js';
...
module 2:
import { Materials } from './Materials/Materials.js';
...
Resultant output file has
Materials and Materials$1 objects with expected breakage.
The text was updated successfully, but these errors were encountered: