diff options
Diffstat (limited to 'examples/webpack.config.js')
-rw-r--r-- | examples/webpack.config.js | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/examples/webpack.config.js b/examples/webpack.config.js deleted file mode 100644 index 0ba53ec..0000000 --- a/examples/webpack.config.js +++ /dev/null @@ -1,33 +0,0 @@ -var path = require('path'); -var webpack = require('webpack'); -var webpackBase = require('./webpack.base'); -var assign = require('lodash/object').assign; - -var paths = { - SRC: path.resolve(__dirname, '../src'), - EXAMPLES: path.resolve(__dirname, '.') -}; - -module.exports = assign(webpackBase, { - - entry: [ - 'webpack/hot/dev-server', - paths.EXAMPLES + '/examples.js' - ], - - devtool: 'source-map', - - devServer: { - contentBase: paths.EXAMPLES, - hot: true, - inline: true, - port: '8080' - }, - - plugins: [ - new webpack.DefinePlugin({ - 'process.env.NODE_ENV': JSON.stringify('development') - }) - ] - -}); |