Skip to content

Commit

Permalink
try upgrade svelte-4
Browse files Browse the repository at this point in the history
  • Loading branch information
kokizzu committed Jun 22, 2023
1 parent 564d4a3 commit 88e3df2
Show file tree
Hide file tree
Showing 4 changed files with 190 additions and 189 deletions.
24 changes: 10 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Specs/sponsored by: [kokizzu](//github.com/kokizzu)

## Changelog

[//]: # (- `2023-06-23` feat: upgrade to svelte-4)
- `2023-06-23` feat: upgrade to svelte-4
- `2023-01-07` bugfix: nested component css not outputted after editing
- `2022-12-31` bugfix: component css not outputted after editing
- `2022-09-12` feat: render on first load for SEO
Expand Down Expand Up @@ -75,23 +75,19 @@ npm run build:prod # build project for production

just copy latest `build.js` to your project directory and then `npm i` or `pnpm i`

[//]: # (or if you are using pre Svelte-4:)
or if you want to use Svelte-4:

[//]: # (```)

[//]: # (# copy latest build.js to your project directory)

[//]: # (cp ../svelte-mpa/build.js .)

[//]: # (# upgrade package.json to svelte 4)

[//]: # (npx svelte-migrate svelte-4 .)
```
# copy latest build.js to your project directory
cp ../svelte-mpa/build.js .
[//]: # (# update all dependencies)
# upgrade package.json to svelte 4
npx svelte-migrate svelte-4 .
[//]: # (./update_deps.sh # or npm i # or pnpm i)
# update all dependencies
./update_deps.sh # or npm i # or pnpm i
[//]: # (```)
```

## Dev Dependencies

Expand Down
Loading

0 comments on commit 88e3df2

Please sign in to comment.