зеркало из https://github.com/Azure/ms-rest-js.git
Remove unnecessary rollup plugin
This broke the build on Windows
This commit is contained in:
Родитель
90053fa355
Коммит
e1908774a5
|
@ -1,4 +0,0 @@
|
|||
declare module "rollup-plugin-alias" {
|
||||
const alias(options: { [_: string]: string }) => void;
|
||||
export default alias;
|
||||
}
|
|
@ -98,7 +98,6 @@
|
|||
"npm-run-all": "^4.1.5",
|
||||
"nyc": "^14.1.1",
|
||||
"rollup": "^1.16.6",
|
||||
"rollup-plugin-alias": "^1.5.2",
|
||||
"rollup-plugin-commonjs": "^10.0.1",
|
||||
"rollup-plugin-json": "^4.0.0",
|
||||
"rollup-plugin-multi-entry": "^2.1.0",
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
/// <reference path=".typings/rollup-plugin-alias.d.ts" />
|
||||
/// <reference path=".typings/rollup-plugin-commonjs.d.ts" />
|
||||
/// <reference path=".typings/rollup-plugin-json.d.ts" />
|
||||
/// <reference path=".typings/rollup-plugin-node-resolve.d.ts" />
|
||||
/// <reference path=".typings/rollup-plugin-sourcemaps.d.ts" />
|
||||
/// <reference path=".typings/rollup-plugin-visualizer.d.ts" />
|
||||
|
||||
import alias from "rollup-plugin-alias";
|
||||
import commonjs from "rollup-plugin-commonjs";
|
||||
import json from "rollup-plugin-json";
|
||||
import nodeResolve from "rollup-plugin-node-resolve";
|
||||
|
@ -69,13 +67,6 @@ const browserConfig = {
|
|||
banner
|
||||
},
|
||||
plugins: [
|
||||
alias({
|
||||
"./defaultHttpClient": "./defaultHttpClient.browser",
|
||||
"./policies/msRestUserAgentPolicy": "./policies/msRestUserAgentPolicy.browser",
|
||||
"./policies/proxyPolicy": "./policies/proxyPolicy.browser",
|
||||
"./util/xml": "./util/xml.browser",
|
||||
"./util/base64": "./util/base64.browser",
|
||||
}),
|
||||
nodeResolve({
|
||||
mainFields: ["module", "main", "browser"]
|
||||
}),
|
||||
|
|
Загрузка…
Ссылка в новой задаче