yarn @rspack/cli 0.3.1
v0.3.1

latest releases: 0.7.0-beta.2-canary-89c6913-20240527004336, 0.7.0-beta.2-canary-89c6913-20240526004502, 0.7.0-beta.2-canary-89c6913-20240525004143...
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 cli release

NewReleases is sending notifications on new releases.