Showing
3 changed files
with
2 additions
and
8 deletions
This diff is collapsed. Click to expand it.
... | @@ -10,7 +10,6 @@ | ... | @@ -10,7 +10,6 @@ |
10 | "@rollup/plugin-commonjs": "11.0.2", | 10 | "@rollup/plugin-commonjs": "11.0.2", |
11 | "@rollup/plugin-node-resolve": "^7.0.0", | 11 | "@rollup/plugin-node-resolve": "^7.0.0", |
12 | "rollup": "^1.20.0", | 12 | "rollup": "^1.20.0", |
13 | - "rollup-plugin-livereload": "^1.0.0", | ||
14 | "rollup-plugin-svelte": "^5.0.3", | 13 | "rollup-plugin-svelte": "^5.0.3", |
15 | "rollup-plugin-terser": "^5.1.2", | 14 | "rollup-plugin-terser": "^5.1.2", |
16 | "svelte": "^3.0.0" | 15 | "svelte": "^3.0.0" | ... | ... |
1 | import svelte from 'rollup-plugin-svelte'; | 1 | import svelte from 'rollup-plugin-svelte'; |
2 | import resolve from '@rollup/plugin-node-resolve'; | 2 | import resolve from '@rollup/plugin-node-resolve'; |
3 | import commonjs from '@rollup/plugin-commonjs'; | 3 | import commonjs from '@rollup/plugin-commonjs'; |
4 | -import livereload from 'rollup-plugin-livereload'; | ||
5 | import { terser } from 'rollup-plugin-terser'; | 4 | import { terser } from 'rollup-plugin-terser'; |
6 | import copy from 'rollup-plugin-copy'; | 5 | import copy from 'rollup-plugin-copy'; |
7 | 6 | ||
... | @@ -38,8 +37,8 @@ export default { | ... | @@ -38,8 +37,8 @@ export default { |
38 | commonjs(), | 37 | commonjs(), |
39 | 38 | ||
40 | copy({ | 39 | copy({ |
41 | - targets:[ | 40 | + targets: [ |
42 | - { src:'src/images', dest:'public' } | 41 | + { src: 'src/images', dest: 'public' } |
43 | ] | 42 | ] |
44 | }), | 43 | }), |
45 | 44 | ||
... | @@ -47,10 +46,6 @@ export default { | ... | @@ -47,10 +46,6 @@ export default { |
47 | // the bundle has been generated | 46 | // the bundle has been generated |
48 | !production && serve(), | 47 | !production && serve(), |
49 | 48 | ||
50 | - // Watch the `public` directory and refresh the | ||
51 | - // browser on changes when not in production | ||
52 | - !production && livereload('public'), | ||
53 | - | ||
54 | // If we're building for production (npm run build | 49 | // If we're building for production (npm run build |
55 | // instead of npm run dev), minify | 50 | // instead of npm run dev), minify |
56 | production && terser() | 51 | production && terser() | ... | ... |
-
Please register or login to post a comment