Code Monkey home page Code Monkey logo

changelog-v5's People

Contributors

alireza-mh avatar anikethsaha avatar apenox avatar azu avatar chenxsan avatar ematipico avatar himanshu010 avatar hiroppy avatar inker avatar jamesgeorge007 avatar jeffin143 avatar keichinger avatar kenve avatar lencioni avatar literalpie avatar lukeapage avatar paularah avatar pranshuchittora avatar privatenumber avatar qc-l avatar rajatkumar avatar randing89 avatar rishabh3112 avatar salemhilal avatar smelukov avatar snitin315 avatar sokra avatar tony avatar wizardofhogwarts avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

changelog-v5's Issues

Update migration about parser rules

Needs to add to the deprecation and migration docs that requireEnsure: false is no longer accepted.

webpack.config.js

    rules: [
      { parser: { requireEnsure: false } },

yields the error:

ValidationError: Invalid parser object. Json Modules Plugin has been initialized using a parser object that does not match the API schema.
 - parser has an unknown property 'requireEnsure'. These properties are valid:
   object { parse? }

bug: typos in readme

There are some typos present in the readme.

acording & neccessary are incorrect spelings.

Mr.Ip

known locations of all devices to ebb

webpack 5 migration guide missing devtool validation changes

Hi!

Trying out webpack 5, I encountered:

  Error thrown in test:

  ValidationError {
    baseDataPath: 'configuration',
    errors: [
      {
        children: Array [ … ],
        data: 'inline-sourcemap',
        dataPath: '.devtool',
        keyword: 'oneOf',
        message: 'should match exactly one schema in oneOf',
        params: Object { … },
        parentSchema: Object { … },
        schema: Array [ … ],
        schemaPath: '#/properties/devtool/oneOf',
      },
    ],
    headerName: 'Webpack',
    message: `Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.␊
     - configuration.devtool should match pattern "^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$".`,

This particular neutrinojs/neutrino preset was using 'inline-sourcemap' rather than 'inline-source-map' - which previously worked fine (even though it's not in the form mentioned in the webpack docs).

The validation error appears to be from webpack/webpack/pull/9689 however isn't mentioned here:
https://github.com/webpack/changelog-v5/blob/master/MIGRATION%20GUIDE.md

It would be great to add it to the migration guide :-)

Buffer removed, it cause some trouble

Hello.

I use twing-loader based on twing but this lib is based on Buffer and it is incompatible with webpack 5.

Ironically in my case we don’t need Buffer in the front bundle beacause Twing-loader is only a template loader chained with html-loader and htmlWebpackPlugin, so Buffer is not used in the browser (only for dev mode).

You recommand to use browser entry in package.json https://github.com/defunctzombie/package-browser-field-spec#spec

And you mention a way to add a polyfill manualy:

It's possible to manually add a polyfill for a node.js core module. An error message will give a hint on how to achieve that.

I try to run my webpack mut I have an error ReferenceError: Buffer is not defined without message to explain how to manually add a polyfill.

So:

  • How to manually add a polyfill ?
  • Add a browser entry in twing package.json with a Buffer polyfill is the best way to fix it ?

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.