From 0b1d60f9c78c5ccc2e14a559aad91d9a59c16ab9 Mon Sep 17 00:00:00 2001 From: luisantos1986 Date: Mon, 25 Oct 2021 17:52:53 -0500 Subject: [PATCH 1/3] Update package.json Updating "rollup-plugin-svelte": "~6.1.1" for build purposes --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 74616d3..de5b146 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "postcss-load-config": "^2.1.0", "rollup": "^1.20.0", "rollup-plugin-livereload": "^1.0.0", - "rollup-plugin-svelte": "^5.0.3", + "rollup-plugin-svelte": "~6.1.1", "rollup-plugin-terser": "^5.1.2", "svelte": "^3.0.0", "svelte-preprocess": "^3.7.4", From dcc5b0d048e793dd63d4345ccd14aacabba48dc3 Mon Sep 17 00:00:00 2001 From: Kevin Date: Tue, 14 Dec 2021 10:42:41 +0800 Subject: [PATCH 2/3] fix: build css after svelte updated. --- rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index e66cf9e..a5303dd 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -24,7 +24,7 @@ export default { // we'll extract any component CSS out into // a separate file - better for performance css: (css) => { - css.write('public/build/bundle.css'); + css.write('bundle.css'); }, }), From 0f7bb4485c8b37b150e33ce4c982fb2164ae8265 Mon Sep 17 00:00:00 2001 From: Kevin Date: Tue, 14 Dec 2021 10:47:09 +0800 Subject: [PATCH 3/3] update readme.md --- readme.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/readme.md b/readme.md index 4b288d6..cae20cd 100644 --- a/readme.md +++ b/readme.md @@ -10,6 +10,12 @@ No install. No server. ¯\\\_(ツ)\_/¯ https://pdf-editor.now.sh 3. Click `Save`. 4. That's it! All is done **in your browser**. +## How to build this Project? +``` +npm i +npm run dev +``` + ## Features - Resize and move everything.