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

issue: singular vs plural #50

Open
MelSumner opened this issue Oct 12, 2020 · 0 comments
Open

issue: singular vs plural #50

MelSumner opened this issue Oct 12, 2020 · 0 comments

Comments

@MelSumner
Copy link
Contributor

MelSumner commented Oct 12, 2020

From the README, in Step 2 - I've omitted everything but the relevant parts.

const contentsJson = new StaticSiteJson('content', {
  contentFolder: 'contents',
});

Note: we need to add the contentFolder: 'contents' config because ember-data expects the folder name to be pluralized and broccoli-static-site-json does not do this by default.

Now, when I do this, I get this error:
Directory not found: app-name/content

I can confirm that the folder contents does exist and is in the app's root directory (and not in the app folder or anything else).
I'm not sure how to resolve the issue where it's looking for a singular-form folder instead of the pluralized one? Any advice?

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

1 participant