Skip to content
This repository has been archived by the owner on Dec 19, 2017. It is now read-only.

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
caseyWebb committed Jun 4, 2016
1 parent c1fed20 commit 8adfb3f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/lib/animate.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import $ from 'jquery'
import 'imports?jQuery=jquery!velocity-animate'
import 'velocity-animate'

const viewIndicies = {
'getting-started': 1,
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@
"file-loader": "^0.8.5",
"font-awesome": "^4.5.0",
"html5-history-api": "^4.2.5",
"imports-loader": "^0.6.5",
"prismjs": "^1.3.0",
"raf": "^3.2.0",
"style-loader": "^0.13.0",
Expand Down
10 changes: 9 additions & 1 deletion webpack.config.example.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
'use strict' // eslint-disable-line

const webpack = require('webpack')

module.exports = {
entry: [
'./example/app.js'
Expand Down Expand Up @@ -41,5 +43,11 @@ module.exports = {
]
},

devtool: 'source-map'
devtool: 'source-map',

plugins: [
new webpack.ProvidePlugin({
'window.jQuery': 'jquery'
})
]
}

0 comments on commit 8adfb3f

Please sign in to comment.