github web-infra-dev/rspack v0.3.1

latest releases: v1.1.0, v1.1.0-beta.0, v1.0.14...
14 months ago

Highlight

Support option resolveLoader

With this option, you can specify the resolving strategy for each loader.

For example, if you are developing a loader and want to showcase its usage from a user's perspective in an example, you can write:

module.exports = {
  resolveLoader: {
    alias: {
      'amazing-loader': require.resolve('path-to-your-amazing-loader'),
    },
  },
};

Then, in the example code, you can write:

require('!!amazing-loader!./amazing-file.js');

See more

What's Changed

Performance Improvements ⚡

Exciting New Features 🎉

Bug Fixes 🐞

Other Changes

Full Changelog: v0.3.0...v0.3.1

Don't miss a new rspack release

NewReleases is sending notifications on new releases.