diff options
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 13 |
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), |