]>
git.immae.eu Git - github/fretlink/purs-loader.git/blob - webpack.config.js
3 var path
= require('path');
5 var webpack
= require('webpack');
7 var noErrorsPlugin
= webpack
.NoErrorsPlugin
;
9 var dedupePlugin
= webpack
.optimize
.DedupePlugin
;
14 , entry: { index: './entry' }
15 , externals: { 'glob': 'commonjs glob'
16 , 'loader-utils': 'commonjs loader-utils'
18 , output: { path: __dirname
19 , filename: '[name].js'
20 , libraryTarget: 'commonjs2'
22 , plugins: [ new noErrorsPlugin()
25 , resolve: { modulesDirectories: [ 'build' ] }
29 module
.exports
= config
;