Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(rest-api-client): leverage IDE's intellisense in rollup.config.js #937

Merged
merged 3 commits into from Jun 15, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/rest-api-client/package.json
Expand Up @@ -64,7 +64,7 @@
"@types/core-js": "^2.5.4",
"@types/js-base64": "^2.3.2",
"@types/qs": "^6.9.6",
"rollup": "^2.51.0",
"rollup": "^2.51.1",
"rollup-plugin-ecma-version-validator": "^0.1.6",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
Expand Down
5 changes: 3 additions & 2 deletions packages/rest-api-client/rollup.config.js
@@ -1,3 +1,4 @@
import { defineConfig } from "rollup";
import resolve from "@rollup/plugin-node-resolve";
import commonjs from "@rollup/plugin-commonjs";
import json from "@rollup/plugin-json";
Expand All @@ -13,7 +14,7 @@ const extensions = [".ts", ".js"];

const isProd = process.env.BUILD === "production";

export default {
export default defineConfig({
input: "./src/index.browser.ts",
output: {
extend: true,
Expand Down Expand Up @@ -64,4 +65,4 @@ export default {
isProd && terser(),
ecmaVersionValidator(),
],
};
});
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -11936,10 +11936,10 @@ rollup-pluginutils@^2.3.1, rollup-pluginutils@^2.6.0:
dependencies:
estree-walker "^0.6.1"

rollup@^2.51.0:
version "2.51.0"
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.51.0.tgz#ffd847882283998fc8611cd57af917f173b4ab5c"
integrity sha512-ITLt9sScNCBVspSHauw/W49lEZ0vjN8LyCzSNsNaqT67vTss2lYEfOyxltX8hjrhr1l/rQwmZ2wazzEqhZ/fUg==
rollup@^2.51.1:
version "2.51.1"
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.51.1.tgz#87bcd4095fe79b14c9bec0edc7ffa44e4827f793"
integrity sha512-8xfDbAtBleXotb6qKEHWuo/jkn94a9dVqGc7Rwl3sqspCVlnCfbRek7ldhCARSi7h32H0xR4QThm1t9zHN+3uw==
optionalDependencies:
fsevents "~2.3.1"

Expand Down