Skip to content

Commit 6d6206c

Browse files
authored
chore: use rollup-plugin-typescript2 instead of esbuild-register to read rollup.config.ts (#21)
1 parent 786cdb3 commit 6d6206c

File tree

3 files changed

+2
-19
lines changed

3 files changed

+2
-19
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"/dist"
1919
],
2020
"scripts": {
21-
"build": "rollup -c rollup.config.js",
21+
"build": "rollup -c rollup.config.ts --configPlugin rollup-plugin-typescript2",
2222
"clean": "rm -rf dist/ node_modules/",
2323
"lint": "prettier --check . && eslint --max-warnings 0 .",
2424
"start": "rollup -c rollup.config.js --watch",
@@ -34,7 +34,6 @@
3434
"@types/mongodb": "^3.6.20",
3535
"@types/node": "15.12.4",
3636
"esbuild": "0.12.9",
37-
"esbuild-register": "2.6.0",
3837
"eslint": "7.29.0",
3938
"jest": "26.6.3",
4039
"jest-junit": "12.2.0",

rollup.config.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

yarn.lock

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2564,15 +2564,7 @@ es-to-primitive@^1.2.1:
25642564
is-date-object "^1.0.1"
25652565
is-symbol "^1.0.2"
25662566

2567-
2568-
version "2.6.0"
2569-
resolved "https://registry.yarnpkg.com/esbuild-register/-/esbuild-register-2.6.0.tgz#9f19a54c82be751dd87673d6a66d7b9e1cdd8498"
2570-
integrity sha512-2u4AtnCXP5nivtIxZryiZOUcEQkOzFS7UhAqibUEmaTAThJ48gDLYTBF/Fsz+5r0hbV1jrFE6PQvPDUrKZNt/Q==
2571-
dependencies:
2572-
esbuild "^0.12.8"
2573-
jsonc-parser "^3.0.0"
2574-
2575-
[email protected], esbuild@^0.12.8:
2567+
25762568
version "0.12.9"
25772569
resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.12.9.tgz#bed4e7087c286cd81d975631f77d47feb1660070"
25782570
integrity sha512-MWRhAbMOJ9RJygCrt778rz/qNYgA4ZVj6aXnNPxFjs7PmIpb0fuB9Gmg5uWrr6n++XKwwm/RmSz6RR5JL2Ocsw==
@@ -4475,11 +4467,6 @@ jsonc-eslint-parser@^0.6.2:
44754467
eslint-visitor-keys "^1.3.0"
44764468
espree "^6.0.0 || ^7.2.0"
44774469

4478-
jsonc-parser@^3.0.0:
4479-
version "3.0.0"
4480-
resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.0.0.tgz#abdd785701c7e7eaca8a9ec8cf070ca51a745a22"
4481-
integrity sha512-fQzRfAbIBnR0IQvftw9FJveWiHp72Fg20giDrHz6TdfB12UH/uue0D3hm57UB5KgAVuniLMCaS8P1IMj9NR7cA==
4482-
44834470
jsonfile@^4.0.0:
44844471
version "4.0.0"
44854472
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb"

0 commit comments

Comments
 (0)