mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-17 23:53:25 +02:00
Starting to add WebPack support.
This commit is contained in:
17
webpack.config.js
Normal file
17
webpack.config.js
Normal 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' }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user