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

Parcel 2: multiple targets with the same environment are not output #3693

Open
devongovett opened this issue Oct 27, 2019 · 0 comments
Open

Comments

@devongovett
Copy link
Member

If target descriptors like the following are provided to the Parcel API or in package.json, only one of them will be output. This is because the environments are the same between them so assets are only compiled once. This is correct, but we should still write the output bundles to all targets.

  targets: {
    client: {
      distDir: "dist/client"
    },
    clientModern: {
      distDir: "dist/clientModern",
    },
    server: {
      distDir: "dist/server"
    }
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant