-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Add option for bundle file name #145
Comments
@ryyppy |
hm weird, seems to be undocumented then... will try that, thanks! |
It's documented in the readme. Is it missing in the executable |
@gilbert in fact, the readme is a copy/paste of the |
I was just trying to use this new flag as mentioned in this issue, multiple times, with different entry points and output each bundled file with a different filename in the same output folder. |
@Schmavery yes, this is the intended behaviour - fastpack "owns" the output directory. The reason for it is that there may be (and likely will be) more files named internally by the fastpack (css, static assets, JS chunks), so we need a way to guarantee that the output is consistent with the latest state of the source code. Could you give a little more details on your workflow where this strategy fails? |
I would like to be able to run fastpack multiple times, with different entry points and output each bundled file with a different filename in the same output folder.
it seems there is no option to give it a different name and it will always create the bundle as
index.js
.Would you be interested to support a flag for this? Not sure about the flag name, but I would be happy to do a PR.
The text was updated successfully, but these errors were encountered: