Giter Site home page Giter Site logo

w4 bundle corrupted about wasm4 HOT 3 CLOSED

aduros avatar aduros commented on May 14, 2024
w4 bundle corrupted

from wasm4.

Comments (3)

FaberVitale avatar FaberVitale commented on May 14, 2024 1

The following issue happens on 1.03 and 1.0.4 with site/static/carts/pong.wasm too.

I've got a fix ready that will be included in the bundle refactor #58

Cartriges that do not work with bundle cmd

from wasm4.

aduros avatar aduros commented on May 14, 2024

@FaberVitale is working on improving w4 bundle (#58), I bet this will be fixed once those changes land. This might currently be buggy due to the janky regexp replacements.

from wasm4.

eXponenta avatar eXponenta commented on May 14, 2024

Looks like that this is bug in node regExp on very large replacer, because a generated source was a ....z85 data <script src=wasm4></script> ...z85 data, seems that a regexp replaced a regions between itself with overlapping

I think we can replace reqexp onto indexOf + subst and concatenation as hotfix

from wasm4.

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.