Git Product home page Git Product logo

Comments (8)

simshanith avatar simshanith commented on August 27, 2024

Would this allow me to use absolute URLs to imports? E.g. '/path/to/local/import' could be resolved from any other local path using this option?

from tools.

dfreedm avatar dfreedm commented on August 27, 2024

That sounds like you want a different option that sets the server root. This issue was for allowing the creation of a build that can be copied into multiple folders and keep the same path information.

from tools.

simshanith avatar simshanith commented on August 27, 2024

Thanks for clarifying. Is there an open issue for the server root option feature? I noticed by default they are excluded with the /^\// pattern. Major blocker for ease of use in my opinion.

from tools.

dfreedm avatar dfreedm commented on August 27, 2024

Not yet it doesn't, but that sounds like a reasonable thing to add. I'll open another issue to track that.

from tools.

constantx avatar constantx commented on August 27, 2024

👍

from tools.

kincaidoneil avatar kincaidoneil commented on August 27, 2024

👍

What's the status of this...? I'd certainly find it very useful!

from tools.

pflannery avatar pflannery commented on August 27, 2024

👍 I need the base path to be based on my output path

if I have vulcanize -o dist/index.html app/index.html I end up with paths beginning with ../app or if I use --abspath . I end up with paths beginning with /, neither of these are desirable for my situation...

from tools.

dfreedm avatar dfreedm commented on August 27, 2024

This bug is no longer relevant. As of 1.0, vulcanize allows for custom file loaders and returns text instead of writing files.

from tools.

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.