Skip to content

Commit

Permalink
Feature: remove bundles (#1541)
Browse files Browse the repository at this point in the history
* Remove dist directory

* Ignore dist directory

* Remove local file usage

* Add error banner for missing bundle

* Update CHANGELOG.md

* Fix missed code

* Add mkdir dist command
  • Loading branch information
talyguryn committed Feb 18, 2021
1 parent c106819 commit fbd4bd9
Show file tree
Hide file tree
Showing 14 changed files with 33 additions and 545 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ yarn-error.log

test/cypress/screenshots
test/cypress/videos

dist/
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ Choose the most usable method of getting Editor for you.

- Node package
- Source from CDN
- Local file from project

##### Option A. NPM install

Expand Down Expand Up @@ -157,9 +156,7 @@ For example, place this in your HTML:
<script src="https://cdn.jsdelivr.net/npm/@editorjs/editorjs@latest"></script>
```

##### Option C. Save source within your project

Copy the [editor.js](dist/editor.js) file to your project and load it.
Or download the bundle file and use it from your server.

```html
<script src="editor.js"></script>
Expand Down
2 changes: 0 additions & 2 deletions dist/editor.js

This file was deleted.

67 changes: 0 additions & 67 deletions dist/editor.js.LICENSE.txt

This file was deleted.

Loading

0 comments on commit fbd4bd9

Please sign in to comment.