-
Notifications
You must be signed in to change notification settings - Fork 920
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
[BUG] error importing files from a folder starting with . since v3.1.0 #2961
Comments
This is a regression caused by #2912 . Checking to see what the best way to fix. |
@FredKSchott It doesn't appear that excluding |
Good catch, we thought that this was already the default behavior since We were just trying to match existing behavior using the new |
This prevents folders that start with a `.` from being excluded from being imported by modules. Fixes #2961
This prevents folders that start with a `.` from being excluded from being imported by modules. Fixes #2961
Bug Report Quick Checklist
Describe the bug
Files are no longer found when imported from a folder that begins with
.
inside of the src folderTo Reproduce
npm init snowpack-app --template @snowpack/app-template-svelte
/src/.test/hello.js
[13:55:08] [snowpack] Error: Not Found (/dist/.test/hello.js)
Expected behavior
A clear and concise description of what you expected to happen.
Anything else?
This was working in 3.0.13
If you change the above subfolder name from
.test
to_test
then everything works.Repro repo setup here: https://github.com/johlrich/snowpack-import-repro
The text was updated successfully, but these errors were encountered: