Created
November 21, 2015 14:33
-
-
Save laggingreflex/20c97b20269f86549c8c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var webpack = require('webpack'); | |
var entryPath = Path.join(__dirname, 'lib/client'); | |
var ngAnnotatePlugin = require('ng-annotate-webpack-plugin'); | |
module.exports = { | |
cache: true, | |
devtool: 'source-map', | |
entry: Path.join(entryPath, 'webpack-entry.js'), | |
output: { | |
path: entryPath, | |
publicPath: 'client/', | |
filename: 'webpack.min.js', | |
sourceMapFilename: 'webpack.min.js.map' | |
}, | |
plugins: [ | |
new webpack.ProvidePlugin({ | |
jQuery: 'jquery', | |
'window.jQuery': 'jquery', | |
$: 'jquery', | |
// angular: 'angular', | |
// 'window.angular': 'angular', | |
}), | |
] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment