Starting to add WebPack support.

This commit is contained in:
Gunther Brunner
2014-02-12 20:14:13 +09:00
parent 1fbaae8d8e
commit 7a0472abc9
7 changed files with 97 additions and 1 deletions

17
webpack.config.js Normal file
View File

@@ -0,0 +1,17 @@
module.exports = {
cache: true,
debug: true,
devtool: 'inline-source-map',
entry: './res/app/scripts/entry.js',
output: {
path: './res/app/build/',
filename: 'bundle.js'
},
resolve: {
modulesDirectories: ['./res/lib', 'node_modules']
},
loaders: [
{ test: /\.css$/, loader: 'style!css' },
{ test: /\.coffee$/, loader: 'coffee' }
]
}