summaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-05-14 14:41:00 +0200
committerBenoit Giannangeli <giann008@gmail.com>2017-05-14 14:41:00 +0200
commit43238f0f3d12c0cf2424579f9562b73323021d61 (patch)
treed36221b3c5837ecc4088442346c214306d9ea866 /webpack.config.js
parentd0655525e3f08fd12b94152947d2cd6f5d47414a (diff)
downloadfengari-43238f0f3d12c0cf2424579f9562b73323021d61.tar.gz
fengari-43238f0f3d12c0cf2424579f9562b73323021d61.tar.bz2
fengari-43238f0f3d12c0cf2424579f9562b73323021d61.zip
Added non-minified webpack build
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 7c8dad4..21bc8c4 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -11,6 +11,19 @@ module.exports = [
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({
WEB: JSON.stringify(true),