Skip to content

Commit 99995d5

Browse files
authored
fix: option #2 - don't bundle axios (#11)
* fix: don't bundle axios * chore: bump version
1 parent 4366ef5 commit 99995d5

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@flybywiresim/api-client",
3-
"version": "0.16.1",
3+
"version": "0.16.2",
44
"description": "Client library for the FlyByWire Simulations API",
55
"main": "dist/index.js",
66
"module": "dist/index.esm.js",
@@ -28,6 +28,9 @@
2828
],
2929
"author": "FlyByWire Simulations",
3030
"license": "MIT",
31+
"dependencies": {
32+
"axios": "^0.21.4"
33+
},
3134
"devDependencies": {
3235
"@flybywiresim/eslint-config": "^0.2.2",
3336
"@rollup/plugin-commonjs": "^20.0.0",
@@ -36,7 +39,6 @@
3639
"@types/es6-promise": "^3.3.0",
3740
"@types/jest": "^27.0.2",
3841
"@typescript-eslint/parser": "^4.31.2",
39-
"axios": "^0.21.4",
4042
"eslint": "^7.32.0",
4143
"eslint-plugin-jest": "^24.4.2",
4244
"rollup": "^2.57.0",

rollup.config.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
"use strict";
22

3-
import resolve from "@rollup/plugin-node-resolve";
43
import commonjs from "@rollup/plugin-commonjs";
54
import typescript from "rollup-plugin-typescript2";
6-
import json from "@rollup/plugin-json";
75

86
import packageJson from "./package.json";
97

@@ -22,8 +20,6 @@ export default {
2220
}
2321
],
2422
plugins: [
25-
resolve(),
26-
json(),
2723
commonjs(),
2824
typescript({
2925
useTsconfigDeclarationDir: true,

0 commit comments

Comments
 (0)