Giter Club home page Giter Club logo

Comments (2)

Conduitry avatar Conduitry commented on July 2, 2024

Interesting. Before sveltejs/svelte-repl#21 the REPL was bundling everything on the client side, it was using https://bundle.run/, a hosted version of https://github.com/Rich-Harris/packd, which had its own limitations (not the least of which was being unable to consume published Svelte components correctly, due to lack of handling of pkg.svelte). If pika.dev is a shinier version of bundle.run/packd, that might be nice, but I imagine it would suffer from some of the same issues.

from sites.

mattjennings avatar mattjennings commented on July 2, 2024

Just to follow up on my discoveries with that repl:

  • phaser's main in their package.json points to an index file in src, which lead to the additional unpkg calls via require statements.

  • changing the import to phaser/dist/phaser.js correctly fetches the bundled file from phaser. Maybe that's considered a good enough solution if this is a unique scenario? If Pika could handle these cases gracefully that'd be great.

from sites.

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.