Toggle navigation
Toggle navigation
This project
Loading...
Sign in
오윤석
/
maplespec.ga
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
4
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
오윤석
2020-05-29 23:45:56 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1fd071832ce0bb39075675790035d41dd443178d
1fd07183
1 parent
b346b776
static image 복사하도록 rollup script 수정
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletions
app/web/package-lock.json
app/web/package.json
app/web/rollup.config.js
app/web/package-lock.json
View file @
1fd0718
This diff is collapsed. Click to expand it.
app/web/package.json
View file @
1fd0718
...
...
@@ -16,6 +16,7 @@
"svelte"
:
"^3.0.0"
},
"dependencies"
:
{
"sirv-cli"
:
"^0.4.4"
"rollup-plugin-copy"
:
"^3.3.0"
,
"sirv-cli"
:
"^0.4.4"
,
}
}
...
...
app/web/rollup.config.js
View file @
1fd0718
...
...
@@ -3,6 +3,7 @@ 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'
;
const
production
=
!
process
.
env
.
ROLLUP_WATCH
;
...
...
@@ -36,6 +37,12 @@ export default {
}),
commonjs
(),
copy
({
targets
:[
{
src
:
'src/images'
,
dest
:
'public'
}
]
}),
// In dev mode, call `npm run start` once
// the bundle has been generated
!
production
&&
serve
(),
...
...
Please
register
or
login
to post a comment