mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 04:58:01 +01:00
28 lines
676 B
JavaScript
28 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"]
|
|
}
|
|
};
|