summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--webpack.config.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 21bc8c4..c54580e 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -10,6 +10,9 @@ module.exports = [
filename: 'fengari.js',
library: 'fengari'
},
+ externals: {
+ "crypto": "crypto"
+ },
plugins: [
new webpack.DefinePlugin({
WEB: JSON.stringify(true),
@@ -23,6 +26,9 @@ module.exports = [
filename: 'fengari.min.js',
library: 'fengari'
},
+ externals: {
+ "crypto": "crypto"
+ },
plugins: [
new BabiliPlugin(),
new webpack.DefinePlugin({