add dependencies as externals in webpack

This commit is contained in:
Labhansh Agrawal
2020-05-01 14:26:03 +05:30
parent 42b88f34f4
commit 195bce0485
@@ -28,5 +28,9 @@ module.exports = {
library: addonName,
libraryTarget: 'umd'
},
mode: 'production'
mode: 'production',
externals: {
'font-finder':'font-finder',
'font-ligatures':'font-ligatures'
}
};