오윤석

livereload 삭제

docker 환경에서 사용이 어려워 삭제함
This diff is collapsed. Click to expand it.
......@@ -10,7 +10,6 @@
"@rollup/plugin-commonjs": "11.0.2",
"@rollup/plugin-node-resolve": "^7.0.0",
"rollup": "^1.20.0",
"rollup-plugin-livereload": "^1.0.0",
"rollup-plugin-svelte": "^5.0.3",
"rollup-plugin-terser": "^5.1.2",
"svelte": "^3.0.0"
......
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 copy from 'rollup-plugin-copy';
......@@ -38,8 +37,8 @@ export default {
commonjs(),
copy({
targets:[
{ src:'src/images', dest:'public' }
targets: [
{ src: 'src/images', dest: 'public' }
]
}),
......@@ -47,10 +46,6 @@ export default {
// the bundle has been generated
!production && serve(),
// 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()
......