Skip to content

Commit

Permalink
chore: release v0.0.38 for vitejs
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker committed Sep 4, 2022
1 parent 7758d1d commit 7cd3a71
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 4 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# 0.0.38 (2022-09-04)

### Build

- fix usage of the library in `vite` projects

e.g. `import` in `SvelteKit`:

```
<script lang="ts">
import {defineCustomElements} from '@papyrs/stylo/dist/loader';
defineCustomElements();
import {createEmptyElement} from '@papyrs/stylo';
</script>
<stylo-editor></stylo-editor>
```

# 0.0.37-1 (2022-09-01)

### Chore
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Afterwards you will need to load - i.e. import - the component in your applicati

#### Loader

Lazy load the components with the help of a loader.
Lazy load the components with the help of a loader. This is the recommended solution to load Stylo in [vite](https://vitejs.dev/) projects.

```js
import {defineCustomElements} from '@papyrs/stylo/dist/loader';
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@papyrs/stylo",
"version": "0.0.37-1",
"version": "0.0.38",
"description": "Another kind of rich text editor",
"author": "David Dal Busco",
"license": "MIT",
Expand Down

0 comments on commit 7cd3a71

Please sign in to comment.