ms-rest-azure-env/rollup.config.js

27 строки
576 B
JavaScript

import sourcemaps from "rollup-plugin-sourcemaps";
const banner = `/** @license ms-rest-azure-env
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/`;
/**
* @type {import('rollup').RollupFileOptions}
*/
const config = {
input: './es/lib/azureEnvironment.js',
external: [],
output: {
file: "./dist/msRestAzureEnv.js",
format: "umd",
name: "Azure",
sourcemap: true,
banner
},
plugins: [
sourcemaps()
]
}
export default config;