Skip to content
This repository was archived by the owner on Nov 4, 2021. It is now read-only.

Commit aaf4665

Browse files
author
Dan Schulte
committed
Add rollup
1 parent cf0eff4 commit aaf4665

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

rollup.config.js

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import sourcemaps from "rollup-plugin-sourcemaps";
2+
3+
const banner = `/** @license ms-rest-azure-env
4+
* Copyright (c) Microsoft Corporation. All rights reserved.
5+
* Licensed under the MIT License. See License.txt in the project root for license information.
6+
*/`;
7+
8+
/**
9+
* @type {import('rollup').RollupFileOptions}
10+
*/
11+
export default {
12+
input: './dist/lib/msRestNodeAuth.js',
13+
external: [
14+
"adal-node"
15+
],
16+
output: {
17+
file: "./dist/msRestNodeAuth.js",
18+
format: "cjs",
19+
sourcemap: true,
20+
banner
21+
},
22+
plugins: [
23+
sourcemaps()
24+
]
25+
};

0 commit comments

Comments
 (0)