A Rspack plugin to interact with Datadog from your builds.
- Yarn
yarn add -D @datadog/rspack-plugin
- NPM
npm install --save-dev @datadog/rspack-plugin
Inside your rspack.config.js
.
const { datadogRspackPlugin } = require('@datadog/rspack-plugin');
module.exports = {
plugins: [
datadogRspackPlugin({
// Configuration
}),
],
};
Tip
It is important to have the plugin in the first position in order to report every other plugins.
Check the main README for the common configuration options.