Skip to content

Commit 5749493

Browse files
committed
Enabled json support in rollup
1 parent a0ea026 commit 5749493

File tree

3 files changed

+25
-7
lines changed

3 files changed

+25
-7
lines changed

package-lock.json

Lines changed: 23 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"license": "MIT",
3939
"dependencies": {
4040
"@actions/core": "^1.11.1",
41+
"@rollup/plugin-json": "^6.1.0",
4142
"@types/json-diff": "^1.0.3",
4243
"ajv": "^8.17.1",
4344
"json-diff": "^1.0.6"

rollup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const config = {
1212
format: 'es',
1313
sourcemap: true
1414
},
15-
plugins: [typescript(), nodeResolve({ preferBuiltins: true }), commonjs()]
15+
plugins: [typescript(), nodeResolve({ preferBuiltins: true }), commonjs(), json()]
1616
}
1717

1818
export default config

0 commit comments

Comments
 (0)