vault/ui/webpack.jsondiffpatch.config.js
Vault Automation e53661ce92
license: update headers to IBM Corp. on main (#10333) (#10361)
Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2025-10-23 20:54:04 +00:00

25 lines
498 B
JavaScript

/**
* Copyright IBM Corp. 2016, 2025
* SPDX-License-Identifier: BUSL-1.1
*/
/* eslint-env node */
'use strict';
const path = require('path');
module.exports = {
entry: {
jsondiffpatch: require.resolve('jsondiffpatch'),
htmlformatter: require.resolve('jsondiffpatch/formatters/html'),
},
output: {
path: path.resolve(__dirname, 'vendor'),
filename: '[name].umd.js',
library: '[name]',
libraryTarget: 'umd',
globalObject: 'this',
},
mode: 'production',
};