Skip to content

Commit

Permalink
Merge pull request #62 from jozsefsallai/docs/update-demo-insomnia-file
Browse files Browse the repository at this point in the history
docs/update demo insomnia file
  • Loading branch information
jozsefsallai authored May 21, 2021
2 parents b1b6926 + f4c5396 commit a0ed5dd
Show file tree
Hide file tree
Showing 8 changed files with 7,898 additions and 3,526 deletions.
24 changes: 12 additions & 12 deletions docs/bundle.css

Large diffs are not rendered by default.

52 changes: 27 additions & 25 deletions docs/bundle.css.map

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/bundle.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/insomnia.json

Large diffs are not rendered by default.

11,318 changes: 7,844 additions & 3,474 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@
"highlight.js": "^10.7.2",
"lodash.pick": "^4.4.0",
"mocha": "^6.2.3",
"node-sass": "^4.14.1",
"node-sass": "^6.0.0",
"npm-run-all": "^4.1.5",
"postcss": "^7.0.18",
"rollup": "^1.12.0",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-livereload": "^1.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-svelte": "^5.0.3",
"rollup-plugin-svelte": "^6.1.1",
"rollup-plugin-terser": "^5.1.3",
"showdown": "^1.9.1",
"sirv-cli": "^0.4.4",
Expand Down
12 changes: 6 additions & 6 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import svelte from 'rollup-plugin-svelte';
import resolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';
import livereload from 'rollup-plugin-livereload';
import { terser } from 'rollup-plugin-terser';
import replace from 'rollup-plugin-replace';
import autoPreprocess from 'svelte-preprocess';
import { terser } from 'rollup-plugin-terser';

const production = !process.env.ROLLUP_WATCH;

Expand All @@ -23,12 +23,12 @@ export default {
// we'll extract any component CSS out into
// a separate file — better for performance
css: css => {
css.write('public/bundle.css');
css.write('bundle.css');
},

preprocess: autoPreprocess()
}),

// If you have external dependencies installed from
// npm, you'll most likely need these plugins. In
// some cases you'll need additional configuration —
Expand All @@ -43,11 +43,11 @@ export default {
replace({
'process.env': JSON.stringify(process.env)
}),

// Watch the `public` directory and refresh the
// browser on changes when not in production
!production && livereload('public'),

// If we're building for production (npm run build
// instead of npm run dev), minify
production && terser()
Expand Down

0 comments on commit a0ed5dd

Please sign in to comment.