3.0.1 • Published 2 years ago

@splunk/dashboard-extension-webpack-plugin v3.0.1

Weekly downloads
22
License
Apache-2.0
Repository
-
Last release
2 years ago

@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-plugin

Usage

Import and add the plugin to your webpack configuration:

import DashboardPlugin from '@splunk/dashboard-extension-webpack-plugin';

{
    plugins: [new DashboardPlugin()]
}