diff --git a/example/lib/animate.js b/example/lib/animate.js index 173d689..6f0f393 100644 --- a/example/lib/animate.js +++ b/example/lib/animate.js @@ -1,5 +1,5 @@ import $ from 'jquery' -import 'imports?jQuery=jquery!velocity-animate' +import 'velocity-animate' const viewIndicies = { 'getting-started': 1, diff --git a/package.json b/package.json index 217510d..ca01f17 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/webpack.config.example.js b/webpack.config.example.js index 72da86b..95d6322 100644 --- a/webpack.config.example.js +++ b/webpack.config.example.js @@ -1,5 +1,7 @@ 'use strict' // eslint-disable-line +const webpack = require('webpack') + module.exports = { entry: [ './example/app.js' @@ -41,5 +43,11 @@ module.exports = { ] }, - devtool: 'source-map' + devtool: 'source-map', + + plugins: [ + new webpack.ProvidePlugin({ + 'window.jQuery': 'jquery' + }) + ] }