From c194f84cab66fa6e18b78c32f9cdf2bddf8d1e68 Mon Sep 17 00:00:00 2001 From: eric thul Date: Wed, 8 Apr 2015 19:49:24 -0400 Subject: Rewrite using purescript for the implementation --- webpack.config.js | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 webpack.config.js (limited to 'webpack.config.js') diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 0000000..11b9069 --- /dev/null +++ b/webpack.config.js @@ -0,0 +1,29 @@ +'use strict'; + +var path = require('path'); + +var webpack = require('webpack'); + +var noErrorsPlugin = webpack.NoErrorsPlugin; + +var dedupePlugin = webpack.optimize.DedupePlugin; + +var config + = { cache: true + , target: 'node' + , entry: { index: './entry' } + , externals: { 'glob': 'commonjs glob' + , 'loader-utils': 'commonjs loader-utils' + } + , output: { path: __dirname + , filename: '[name].js' + , libraryTarget: 'commonjs2' + } + , plugins: [ new noErrorsPlugin() + , new dedupePlugin() + ] + , resolve: { modulesDirectories: [ 'build' ] } + } + ; + +module.exports = config; -- cgit v1.2.3