Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rollup config #12

Merged
merged 1 commit into from
Aug 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ or easier:
</script>
```

### UMD (+ jsDelivr)
### CDN jsDelivr
```html
<script src="https://cdn.jsdelivr.net/npm/easy-toggler@2.2.0/dist/easy-toggler.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/easy-toggler@2.2.3/dist/easy-toggler.iife.min.js"></script>
```
### CJS
```html
<script type="module">
const easySetup = require("easy-toggler.cjs");
const easySetup = require("easy-toggler");

easySetup({
// html attrs
Expand Down
2 changes: 1 addition & 1 deletion __test__/easySetup.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @jest-environment-options {"url": "https://jestjs.io/"}
*/
import testDom from './test-dom';
import easySetup from '../dist/easy-toggler.es';
import easySetup from '../dist/easy-toggler';

easySetup({
remove: 'data-easy-remove',
Expand Down
2 changes: 1 addition & 1 deletion dist/easy-toggler.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* EasyToggler v2.2.2 (https://github.com/rah-emil/easy-toggler#readme)
* EasyToggler v2.2.3 (https://github.com/rah-emil/easy-toggler#readme)
* Copyright 2022 Rah Emil <013131@mail.ru>
* Licensed under MIT (https://github.com/rah-emil/easy-toggler/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/easy-toggler.cjs.map

Large diffs are not rendered by default.

148 changes: 0 additions & 148 deletions dist/easy-toggler.es.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/easy-toggler.es.js.map

This file was deleted.

7 changes: 0 additions & 7 deletions dist/easy-toggler.es.min.js

This file was deleted.

Loading