mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-23 03:31:09 +01:00
* update jsondiffpatch dep + use webpack to convert into UMD format * do not lint vendor files * update test * lint fix * fix merge conflict error Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
25 lines
497 B
JavaScript
25 lines
497 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* 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',
|
|
};
|