Skip to content

Commit

Permalink
Add webpack example.
Browse files Browse the repository at this point in the history
  • Loading branch information
tocker committed Feb 16, 2016
1 parent 6c11d61 commit 3a8a937
Show file tree
Hide file tree
Showing 7 changed files with 19,351 additions and 0 deletions.
19 changes: 19 additions & 0 deletions samples/webpack/README.md
@@ -0,0 +1,19 @@
# Webpack sample

This example demostrate the use of the Cloudinary JavaScript library in webpack.

## Instructions
1. Install webpack
```
npm install -g webpack
```
1. Install dependencies
```
npm install
```
2. Compile bundle
```
webpack
```

3. Open `index.html` in your browser
22 changes: 22 additions & 0 deletions samples/webpack/bower.json
@@ -0,0 +1,22 @@
{
"name": "Cloudinary webpack example",
"main": "index.js",
"homepage": "https://github.com/cloudinary/pkg-cloudinary-core",
"authors": [
"Amir Tocker <amir.tocker@cloudinary.com>"
],
"description": "",
"moduleType": [],
"license": "MIT",
"private": true,
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {
"cloudinary-core": "^2.0.5"
}
}

0 comments on commit 3a8a937

Please sign in to comment.