Skip to content

Commit

Permalink
⚡ v2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
phucbm committed Nov 18, 2022
1 parent 4777255 commit 01da5f0
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### v2.0.2 - 2022-11-18

- Fix bug detect first/last slide to disable prev/next button.

### v2.0.0 - 2022-11-11

- Refactor dev environment with webpack
Expand Down
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ import {FlickityResponsive} from "flickity-responsive";

```html

<script src="https://cdn.jsdelivr.net/gh/phucbm/[email protected].1/flickity-responsive.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/phucbm/[email protected].2/flickity-responsive.min.js"></script>
```

## Usage
Expand Down Expand Up @@ -145,16 +145,24 @@ npm run dev

### Generate production files

Generate UMD and module version
Before generate UMD and module version:

1. Update version in `package.json`
2. Update version in `README.md`

```shell
# Generate prod files
npm run prod

# Publish package
npm publish
```

### Build sites

Build production site

```shell
# Netlify build
npm run build
```
4 changes: 2 additions & 2 deletions dist/flickity-responsive.module.js

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

Loading

0 comments on commit 01da5f0

Please sign in to comment.