Skip to content

Commit

Permalink
Merge pull request #4 from Myddna/Myddna-patch-1
Browse files Browse the repository at this point in the history
Webpack compatibility
  • Loading branch information
hsynlms authored Sep 23, 2020
2 parents f0b5bd6 + 3e5ea8e commit ccf3500
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ zeynep.on('closing', function () {
// destroys the menu
zeynep.destroy()
```
## Adding to webpack
Once added to your project, you can import the module to use it:
```js
import 'zeynepjs';
```

## Contribution
Contributions and pull requests are kindly welcomed!
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"name": "zeynepjs",
"version": "2.0.1",
"description": "a lightweight, multi-level jQuery side menu plugin",
"main": "index.js",
"main": "./dist/zeynep.js",
"style": "./dist/zeynep.css",
"directories": {
"example": "examples"
},
Expand Down

0 comments on commit ccf3500

Please sign in to comment.