mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-21 20:48:00 +01:00
29 lines
676 B
JavaScript
29 lines
676 B
JavaScript
|
var path = require('path');
|
||
|
var webpack = require('webpack');
|
||
|
|
||
|
module.exports = {
|
||
|
module: {
|
||
|
loaders: [
|
||
|
{test: /\.coffee$/, loader: "coffee"}
|
||
|
]
|
||
|
},
|
||
|
plugins: [
|
||
|
new webpack.ProvidePlugin({
|
||
|
$: "jquery",
|
||
|
jQuery: "jquery"
|
||
|
})
|
||
|
],
|
||
|
entry: './resources/assets/scripts/app/app.coffee',
|
||
|
output: {
|
||
|
path: __dirname + '/public',
|
||
|
filename: './build/scripts/app.js',
|
||
|
publicPath: 'http://localhost:8080/build/'
|
||
|
},
|
||
|
//watch: true,
|
||
|
//watchDelay: 100,
|
||
|
devtool: 'source-map',
|
||
|
resolve: {
|
||
|
extensions: ["", ".webpack.js", ".web.js", ".js", ".coffee"]
|
||
|
}
|
||
|
};
|