Skip to content

Commit 8a30440

Browse files
committed
chore: add rollup plugin test
1 parent 75e866d commit 8a30440

File tree

4 files changed

+40
-270
lines changed

4 files changed

+40
-270
lines changed

.github/workflows/unit-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ jobs:
6262
- name: Test webpack loader
6363
run: pnpm webpack-loader
6464

65+
- name: Test rollup plugin
66+
run: pnpm rollup-plugin
67+
6568
# - name: Run Unit Test Against Package
6669
# # pnpm has a bug with pack script https://github.com/pnpm/pnpm/issues/4351
6770
# run: |

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,13 @@
2121
"coverage": "vitest run --coverage",
2222
"test": "vitest",
2323
"test:mutation": "stryker run",
24-
"webpack-loader": "webpack"
24+
"webpack-loader": "webpack",
25+
"rollup-plugin": "rollup --config"
2526
},
2627
"dependencies": {
2728
"json-map-keys": "workspace:*",
28-
"json-map-keys-loader": "workspace:*"
29+
"json-map-keys-loader": "workspace:*",
30+
"rollup-plugin-json-map-keys": "workspace:*"
2931
},
3032
"devDependencies": {
3133
"@commitlint/cli": "^19.8.1",
@@ -46,6 +48,7 @@
4648
"prettier": "^3.6.2",
4749
"remark": "^15.0.1",
4850
"remark-cli": "^12.0.1",
51+
"rollup": "^4.52.4",
4952
"vitest": "^3.2.4",
5053
"webpack": "^5.102.0",
5154
"webpack-cli": "^6.0.1"

0 commit comments

Comments
 (0)