From 43238f0f3d12c0cf2424579f9562b73323021d61 Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Sun, 14 May 2017 14:41:00 +0200 Subject: Added non-minified webpack build --- webpack.config.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index 7c8dad4..21bc8c4 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -10,6 +10,19 @@ module.exports = [ filename: 'fengari.js', library: 'fengari' }, + plugins: [ + new webpack.DefinePlugin({ + WEB: JSON.stringify(true), + }) + ] + }, + { + entry: './src/fengari.js', + output: { + path: path.resolve(__dirname, 'dist'), + filename: 'fengari.min.js', + library: 'fengari' + }, plugins: [ new BabiliPlugin(), new webpack.DefinePlugin({ -- cgit v1.2.3-70-g09d2