Skip to content

Commit 0bee659

Browse files
authored
Fixes rollup config (#41)
1 parent 8d9b88e commit 0bee659

File tree

3 files changed

+3
-47
lines changed

3 files changed

+3
-47
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
"devDependencies": {
3737
"@aas-core-works/aas-core3.0-typescript": "^1.0.3",
3838
"@hey-api/openapi-ts": "^0.64.1",
39-
"@rollup/plugin-commonjs": "^28.0.2",
4039
"@rollup/plugin-node-resolve": "^16.0.0",
4140
"@types/jest": "^29.5.14",
4241
"@types/node": "^22.10.7",

rollup.config.mjs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
1-
import commonjs from '@rollup/plugin-commonjs';
21
import resolve from '@rollup/plugin-node-resolve';
32

43
export default {
5-
// Use your compiled entry point from the dist folder
64
input: 'dist/index.js',
75
output: {
86
file: 'bundle/index.js',
97
format: 'esm',
108
sourcemap: true,
119
},
12-
plugins: [
13-
resolve(), // helps Rollup find node_modules packages
14-
commonjs(), // converts CommonJS modules to ES6, so they can be included in a Rollup bundle
15-
],
16-
// Externalize dependencies that shouldn't be bundled
10+
plugins: [resolve()],
1711
external: ['@aas-core-works/aas-core3.0-typescript', '@hey-api/client-fetch'],
1812
};

yarn.lock

Lines changed: 2 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@
634634
resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.2.1.tgz#558fb6472ed16a4c850b889530e6b36438c49280"
635635
integrity sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==
636636

637-
"@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.14", "@jridgewell/sourcemap-codec@^1.5.0":
637+
"@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.14":
638638
version "1.5.0"
639639
resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz#3188bcb273a414b0d215fd22a58540b989b9409a"
640640
integrity sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==
@@ -686,19 +686,6 @@
686686
resolved "https://registry.yarnpkg.com/@pkgr/core/-/core-0.1.1.tgz#1ec17e2edbec25c8306d424ecfbf13c7de1aaa31"
687687
integrity sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==
688688

689-
"@rollup/plugin-commonjs@^28.0.2":
690-
version "28.0.2"
691-
resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-28.0.2.tgz#193d7a86470f112b56927c1d821ee45951a819ea"
692-
integrity sha512-BEFI2EDqzl+vA1rl97IDRZ61AIwGH093d9nz8+dThxJNH8oSoB7MjWvPCX3dkaK1/RCJ/1v/R1XB15FuSs0fQw==
693-
dependencies:
694-
"@rollup/pluginutils" "^5.0.1"
695-
commondir "^1.0.1"
696-
estree-walker "^2.0.2"
697-
fdir "^6.2.0"
698-
is-reference "1.2.1"
699-
magic-string "^0.30.3"
700-
picomatch "^4.0.2"
701-
702689
"@rollup/plugin-node-resolve@^16.0.0":
703690
version "16.0.0"
704691
resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-16.0.0.tgz#b1a0594661f40d7b061d82136e847354ff85f211"
@@ -886,7 +873,7 @@
886873
dependencies:
887874
"@babel/types" "^7.20.7"
888875

889-
"@types/estree@*", "@types/estree@1.0.6", "@types/estree@^1.0.0", "@types/estree@^1.0.6":
876+
"@types/estree@1.0.6", "@types/estree@^1.0.0", "@types/estree@^1.0.6":
890877
version "1.0.6"
891878
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.6.tgz#628effeeae2064a1b4e79f78e81d87b7e5fc7b50"
892879
integrity sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==
@@ -1361,11 +1348,6 @@ commander@^12.0.0:
13611348
resolved "https://registry.yarnpkg.com/commander/-/commander-12.1.0.tgz#01423b36f501259fdaac4d0e4d60c96c991585d3"
13621349
integrity sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==
13631350

1364-
commondir@^1.0.1:
1365-
version "1.0.1"
1366-
resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b"
1367-
integrity sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==
1368-
13691351
concat-map@0.0.1:
13701352
version "0.0.1"
13711353
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
@@ -1719,11 +1701,6 @@ fb-watchman@^2.0.0:
17191701
dependencies:
17201702
bser "2.1.1"
17211703

1722-
fdir@^6.2.0:
1723-
version "6.4.3"
1724-
resolved "https://registry.yarnpkg.com/fdir/-/fdir-6.4.3.tgz#011cdacf837eca9b811c89dbb902df714273db72"
1725-
integrity sha512-PMXmW2y1hDDfTSRc9gaXIuCCRpuoz3Kaz8cUelp3smouvfT632ozg2vrT6lJsHKKOF59YLbOGfAWGUcKEfRMQw==
1726-
17271704
file-entry-cache@^8.0.0:
17281705
version "8.0.0"
17291706
resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-8.0.0.tgz#7787bddcf1131bffb92636c69457bbc0edd6d81f"
@@ -2012,13 +1989,6 @@ is-number@^7.0.0:
20121989
resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b"
20131990
integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==
20141991

2015-
is-reference@1.2.1:
2016-
version "1.2.1"
2017-
resolved "https://registry.yarnpkg.com/is-reference/-/is-reference-1.2.1.tgz#8b2dac0b371f4bc994fdeaba9eb542d03002d0b7"
2018-
integrity sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==
2019-
dependencies:
2020-
"@types/estree" "*"
2021-
20221992
is-stream@^2.0.0:
20231993
version "2.0.1"
20241994
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077"
@@ -2580,13 +2550,6 @@ lru-cache@^5.1.1:
25802550
dependencies:
25812551
yallist "^3.0.2"
25822552

2583-
magic-string@^0.30.3:
2584-
version "0.30.17"
2585-
resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.17.tgz#450a449673d2460e5bbcfba9a61916a1714c7453"
2586-
integrity sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==
2587-
dependencies:
2588-
"@jridgewell/sourcemap-codec" "^1.5.0"
2589-
25902553
make-dir@^4.0.0:
25912554
version "4.0.0"
25922555
resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-4.0.0.tgz#c3c2307a771277cd9638305f915c29ae741b614e"

0 commit comments

Comments
 (0)