Giter Club home page Giter Club logo

Comments (9)

3cp avatar 3cp commented on August 29, 2024

Somehow, webpack 5 is released quite a while, but webpack-dev-server for webpack 5 is still not for production.

from new.

3cp avatar 3cp commented on August 29, 2024

The beta webpack-dev-server seems caused some issue on CI. I will investigate when I got more time.

from new.

3cp avatar 3cp commented on August 29, 2024

dev-server v4 beta caused lot more problem. I will revert to v3 for now.

from new.

3cp avatar 3cp commented on August 29, 2024

webpack-dev-server v3 supposes to work with webpack 5. (v3 added webpack5 support since v3.10.0).

This failed watch mode might be due to some new version of webpack/webpack-cli/webpack-dev-server.

from new.

3cp avatar 3cp commented on August 29, 2024

Somehow with latest v3 dev-server, there is no more [WDS] websocket connection in browser, that's probably why live reload is not working. I have not find the combination of webpack/webpack-dev-server versions to bring it back to normal.

from new.

ivanbacher avatar ivanbacher commented on August 29, 2024

Thanks for taking a look. Adding the following to webpack config seems to work:

target: 'web'

from new.

3cp avatar 3cp commented on August 29, 2024

Awesome!

from new.

3cp avatar 3cp commented on August 29, 2024

Webpack doc said target:web is the default 😓
No idea how did they break this.

from new.

3cp avatar 3cp commented on August 29, 2024

closed by #52

from new.

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.