Improved layout.

This commit is contained in:
Gunther Brunner
2014-02-19 16:52:26 +09:00
parent 52b185e653
commit 6186c1cc87
6 changed files with 14 additions and 14 deletions

View File

@@ -3,10 +3,9 @@ var webpack = require('webpack')
var pathutil = require('../util/pathutil')
module.exports = webpackMiddleware(webpack({
var webpackConfig = webpackMiddleware(webpack({
cache: true,
debug: true,
// devtool: 'eval-source-map',
devtool: 'eval',
entry: pathutil.resource('app') + '/app.js',
output: {
@@ -16,7 +15,7 @@ module.exports = webpackMiddleware(webpack({
resolve: {
modulesDirectories: [
pathutil.resource('lib'),
pathutil.resource('app') + '/components',
pathutil.resource('app') + '/components',
'web_modules',
'./../../node_modules'
],
@@ -44,9 +43,6 @@ module.exports = webpackMiddleware(webpack({
new webpack.ResolverPlugin(
new webpack.ResolverPlugin.DirectoryDescriptionFilePlugin('.bower.json', ['main'])
)
// new webpack.ProvidePlugin({
// angular: 'angular'
// })
//new webpack.optimize.UglifyJsPlugin()
]
}), {
@@ -58,3 +54,5 @@ module.exports = webpackMiddleware(webpack({
colors: true
}
})
module.exports = webpackConfig