Skip to content

Releases: D-Sketon/es-toolkit-webpack-plugin

v0.2.0

27 Oct 05:08
Compare
Choose a tag to compare

New Features

Note

This feature may increase the size of the bundle in some cases. Please test it in your project before using it in production.

  • Support single function require in CommonJS, which means the following code is supported:

    const isEqual = require("lodash/isEqual.js"); // supported
    const isEqual = require("lodash-es/isEqual.js"); // supported
    const lodashIsEqual = require("lodash.isequal"); // supported
  • Support excluding some lodash methods from being replaced, now you can use the excludes option to exclude some methods.

    new WebpackEsToolkitPlugin({
      excludes: ["isEqual"],
    })

Full Changelog: v0.1.0...v0.2.0

v0.1.0

26 Oct 05:47
Compare
Choose a tag to compare