npm @rspack/core 0.3.1
v0.3.1

latest releases: 0.7.6-canary-fd6c40d-20240918093542, 1.0.5, 1.0.4...
12 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 core release

NewReleases is sending notifications on new releases.