GithubHelp home page GithubHelp logo

Comments (12)

djyde avatar djyde commented on July 28, 2024 8

why it was closed?

from bundle-loader.

exdis avatar exdis commented on July 28, 2024

+1

from bundle-loader.

isstaif avatar isstaif commented on July 28, 2024

Is there anyway to handle network errors?

from bundle-loader.

richardscarrott avatar richardscarrott commented on July 28, 2024

I believe webpack 2 will include support for error handling via System.import and in turn the bundle loader could easily be updated to proxy through.

In the meantime I added support through a plugin https://github.com/richardscarrott/require-error-handler-webpack-plugin

from bundle-loader.

NekR avatar NekR commented on July 28, 2024

Hi guys, here I made little loader based on bundle-loader but with error handling improvements: https://github.com/NekR/async-module-loader

Hope it will help, it's just a bit minimalistic than including a lot of custom plugins and can replace bundle-loader just with few modifications.

from bundle-loader.

NekR avatar NekR commented on July 28, 2024

Okay, now I updated loader to properly clear pending callbacks when loading fails so file can be properly requested again. This also eliminates possible memory leaks with uncleared pending callbacks.

from bundle-loader.

moshemal avatar moshemal commented on July 28, 2024

+1

from bundle-loader.

denich avatar denich commented on July 28, 2024

+1

from bundle-loader.

psacc avatar psacc commented on July 28, 2024

+1

from bundle-loader.

codymullins avatar codymullins commented on July 28, 2024

+1

from bundle-loader.

sdhhqb avatar sdhhqb commented on July 28, 2024

+1

from bundle-loader.

vicvinc avatar vicvinc commented on July 28, 2024

need to do some thine when webpack load chunk failed...

from bundle-loader.

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.