Coder Social home page Coder Social logo

Custom naming systems about rollup HOT 4 CLOSED

rollup avatar rollup commented on May 17, 2024
Custom naming systems

from rollup.

Comments (4)

Rich-Harris avatar Rich-Harris commented on May 17, 2024

Great! This seems like it might be relevant to #25 (getting Rollup to work in a browser environment). If I understand you correctly, the goal is to replace this line with something that loosely equates to HostNormalizeModuleName (i.e. resolvePath, but where importer is undefined), so that a subsequent HostGetSource (a.k.a. load) operation can load the entry module in the absence of a filesystem. Is that right?

If so, that seems both doable and desirable.

from rollup.

guybedford avatar guybedford commented on May 17, 2024

Yes, exactly!

from rollup.

Rich-Harris avatar Rich-Harris commented on May 17, 2024

Have to run now, but I've made a start on this in #31 - will pick it up soon, but in the meantime checking out that branch and npm linking it will allow you to try it out if needs be.

from rollup.

Rich-Harris avatar Rich-Harris commented on May 17, 2024

Fixed as of 0.9.0. #31 for details. @guybedford let me know if this behaves as you expect!

from rollup.

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.