Giter VIP home page Giter VIP logo

Comments (8)

zindel avatar zindel commented on May 27, 2024 1

@ryyppy -n or --name is already added :)

from fastpack.

TrySound avatar TrySound commented on May 27, 2024

#80

from fastpack.

ryyppy avatar ryyppy commented on May 27, 2024

hm weird, seems to be undocumented then... will try that, thanks!

from fastpack.

gilbert avatar gilbert commented on May 27, 2024

It's documented in the readme. Is it missing in the executable --help section?

from fastpack.

zindel avatar zindel commented on May 27, 2024

@gilbert in fact, the readme is a copy/paste of the --help, so it should be there as well

from fastpack.

ryyppy avatar ryyppy commented on May 27, 2024

@gilbert @zindel aha, i see it in the README, but it's apparently missing on the website 😄

from fastpack.

Schmavery avatar Schmavery commented on May 27, 2024

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.

zindel avatar zindel commented on May 27, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.