Comments (8)
@ryyppy -n
or --name
is already added :)
from fastpack.
from fastpack.
hm weird, seems to be undocumented then... will try that, thanks!
from fastpack.
It's documented in the readme. Is it missing in the executable --help
section?
from fastpack.
@gilbert in fact, the readme is a copy/paste of the --help
, so it should be there as well
from fastpack.
@gilbert @zindel aha, i see it in the README, but it's apparently missing on the website 😄
from fastpack.
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.
On my machine (with version 0.8.4 (Commit: 365123f)), every run of fpack seems to delete everything else in the folder, so this workflow isn't working for me. Is that intended behavior?
from fastpack.
@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. -n
option is added to provide the public API to the output - i.e. you can refer the bundle from the HTML file.
Could you give a little more details on your workflow where this strategy fails?
from fastpack.
Related Issues (20)
- Hoist imported identifiers HOT 2
- getting `Malformed unicode` error when importing png file with and without `--preprocess='file-loader'` HOT 14
- bundle/index.js has 600 permission instead of 644 HOT 3
- production mode injects an unexpected ")" HOT 2
- production mode attempts to export non-existing default, causes a silent runtime error
- [question] use ES5 for internals? HOT 1
- Provide --rewrite option for server HOT 2
- fpack failing to dynamically link libssl HOT 7
- fpack watch mode fails HOT 5
- omitDefault is not a function HOT 3
- libssl.so.1.1 error HOT 5
- Node bundling HOT 6
- Add the ability to inject environment variables into the final bundle HOT 4
- 0.7.0 and 0.8.0 npm releases HOT 5
- Yarn Plug’n’Play HOT 1
- swc support HOT 6
- Unify the terminal color output API HOT 2
- Uncaught TypeError: Cannot read property 'm' of undefined HOT 1
- ExportFinder > Cannot export twice HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastpack.