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

[BUG] Output flag is ignored #22

Open
andreamoro opened this issue Dec 21, 2021 · 1 comment
Open

[BUG] Output flag is ignored #22

andreamoro opened this issue Dec 21, 2021 · 1 comment

Comments

@andreamoro
Copy link

Context
I've been setting up an MVP for a site to test Eleventy functionalities, out of which separate folders output content is required.
Without the i18n plugin, the following code allow to compile the code in the designated directory outside the source folder.

module.exports = function(eleventyConfig) {
  return {
    dir: {
      input: ".",
      output: "../test/"
    }
  }
};

However, by the time the plugin is active, the output flag is ignored and the content written under ./_site/src/
Is there anything I'm doing wrong?

@adamduncan
Copy link
Owner

Hey @andreamoro. I haven't attempted to set the output directory to a sibling of the root/working directory like this. Will have to give this one a go, replicate, and see if there's a sensible solution our side.

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