Skip to content

Commit

Permalink
rollup json plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
kaichaosun committed Dec 9, 2021
1 parent 0c3808d commit 8ce7ccf
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
1 change: 0 additions & 1 deletion config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export const s3 = new S3({
endpoint,
s3ForcePathStyle: true,
signatureVersion: "v4",
connectTimeout: 0,
httpOptions: { timeout: 0 }
});

Expand Down
9 changes: 9 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@perspect3vism/ad4m": "0.1.21",
"@perspect3vism/rollup-plugin-dna": "^0.0.2",
"@rollup/plugin-commonjs": "^14.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^8.0.0",
"@rollup/plugin-typescript": "^4.0.0",
"@tsconfig/svelte": "^1.0.0",
Expand Down
4 changes: 3 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import commonjs from "@rollup/plugin-commonjs";
import sveltePreprocess from "svelte-preprocess";
import postcss from "rollup-plugin-postcss";
import { string } from "rollup-plugin-string";
import json from '@rollup/plugin-json';

const production = !process.env.ROLLUP_WATCH;

Expand Down Expand Up @@ -52,7 +53,8 @@ export default {
},
],
],
})
}),
json()
],
watch: {
clearScreen: false,
Expand Down

0 comments on commit 8ce7ccf

Please sign in to comment.