Skip to content
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

Subdirectories of webpack TYPESJS directory cause webpack errors #1

Closed
MasonD opened this issue Jul 26, 2018 · 0 comments
Closed

Subdirectories of webpack TYPESJS directory cause webpack errors #1

MasonD opened this issue Jul 26, 2018 · 0 comments

Comments

@MasonD
Copy link
Contributor

MasonD commented Jul 26, 2018

Expected Behavior

The TYPESJS folder should be searched recursively and all files should be added as entry points.

Actual Behavior

The _getAllFilesFromFolder function calls itself recursively with an absolute path when _getAllFilesFromFolder can only handle relative paths. This causes an ENOENT: no such file or directory error.

Steps to Reproduce the Problem

  1. Create any directory under mysite/client/src/js/types/
  2. run yarn start

Specifications

  • Ubuntu 16.04
  • Node v8.11.3
  • Yarn 1.7.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants