diff --git a/README.md b/README.md index 4aff292..f514101 100644 --- a/README.md +++ b/README.md @@ -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! diff --git a/package.json b/package.json index 7907c78..fa684b2 100644 --- a/package.json +++ b/package.json @@ -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" },