A Wepack plugin to interact with Datadog from your Webpack builds.
- Yarn
yarn add -D @datadog/webpack-plugin
- NPM
npm install --save-dev @datadog/webpack-plugin
Inside your webpack.config.js
.
const { datadogWebpackPlugin } = require('@datadog/webpack-plugin');
module.exports = {
plugins: [
datadogWebpackPlugin({
// 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.