A Rspack plugin to interact with Datadog from your builds.
- Yarn
yarn add -D @datadog/rspack-plugin- npm
npm install --save-dev @datadog/rspack-pluginInside 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.