-
Notifications
You must be signed in to change notification settings - Fork 27k
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
restrict files copied into .next/dist/pages #988
Comments
I think best idea is to ignore |
Ignoring in Jest just makes sure the test does not run. Does not prevent next from copying the files unneeded.
…On Feb 4, 2017, 9:19 AM -0600, Arunoda Susiripala ***@***.***>, wrote:
Closed #988 (#988).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub (#988 (comment)), or mute the thread (https://github.com/notifications/unsubscribe-auth/ABwmA8SGm8qzw48HWfya2iDIydt5eD77ks5rZJbhgaJpZM4L3KRR).
|
@khrome83 currently it's possible to avoid sending those files. So, we don't need to worry about this issue. |
Basically, you can't put any js files inside |
That is kind of where I was going with this, if there was some configuration that should be opened up, or if by default |
I was playing around with the idea of placing a
__tests__
folder into my different directory areas.So
But when I do this, I get duplicate issues because of files being copied into .next
.next/dist/pages/__tests__/index.test.js
What is the best way to solve this? I know I can omit the files from jest, but I don't think they should be copied over in general.
The text was updated successfully, but these errors were encountered: