mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-07 03:41:13 +01:00
25 lines
498 B
JavaScript
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',
|
|
};
|