@splunk/dashboard-extension-webpack-plugin
v3.0.1
Published
Webpack plugin for building Splunk Enterprise dashboard extensions
Downloads
85
Keywords
Readme
@splunk/dashboard-extension-webpack-plugin
A Webpack plugin for building Splunk dashboard extensions.
It replaces the initial define with a require so that the extension module is executed.
Consider using the dashboard configuration file provided by @splunk/webpack-configs instead of using this plugin directly.
Install
Install the package:
npm install --save-dev @splunk/dashboard-extension-webpack-pluginUsage
Import and add the plugin to your webpack configuration:
import DashboardPlugin from '@splunk/dashboard-extension-webpack-plugin';
{
plugins: [new DashboardPlugin()]
}