9 lines
467 B
JavaScript
9 lines
467 B
JavaScript
const path = require('path');
|
|
const { PluginWebpackConfig } = require('graylog-web-plugin');
|
|
const { loadBuildConfig } = require('graylog-web-plugin');
|
|
|
|
// Remember to use the same name here and in `getUniqueId()` in the java MetaData class
|
|
module.exports = new PluginWebpackConfig(__dirname, 'org.graylog.plugins.custom.XmlLookupFunctionPlugin', loadBuildConfig(path.resolve(__dirname, './build.config')), {
|
|
// Here goes your additional webpack configuration.
|
|
});
|