Git Product home page Git Product logo

Comments (3)

Munter avatar Munter commented on June 24, 2024

The basic idea is good, but I am not sure if it clashes with some previous design decisions. I guess @papandreou remembers more about the reasoning behind this.

As I see ti you might need to specify a document root like http-pub if you build a Js-bundle based on http-pub/js/myApplication/bundle.js because there might be relations as far out as the given root.

from assetgraph-builder.

papandreou avatar papandreou commented on June 24, 2024

We have at least one use case where the root !== the topmost dir with html files in it. Would you get rid of the switch completely or just change its default value?

from assetgraph-builder.

Munter avatar Munter commented on June 24, 2024

I guess we could keep the switch, but make it optional and default to the path of the first argument.
How would we handle when there are multiple arguments though?
Only extrapolate the root from the path if there is one argument, and require a specific root if there are multiple arguments?

from assetgraph-builder.

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.