We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 82efcb3 + 75d8ecc commit 8a81af8Copy full SHA for 8a81af8
webpack/library.cfg.js
@@ -17,11 +17,7 @@ function containsObject(obj, list) {
17
}
18
19
const externals = [];
20
-const explicitExternals = [];
21
const internals = ['fabric', 'canvas'];
22
-Object.keys(require('../package.json').devDependencies).forEach(function(k) {
23
- if (!containsObject(k, internals)) externals.push(k);
24
-});
25
26
module.exports = {
27
entry: {
@@ -35,9 +31,6 @@ module.exports = {
35
31
filename: 'index.js',
36
32
libraryTarget: 'umd'
37
33
},
38
- //Every non-relative module is external apart from those given.
39
- //externals: [/^(?!fabric|canvas|base64-js|ieee754|isarray|jsdom|xmldom)[a-z\-0-9]+$/],
40
- externals: explicitExternals.concat(externals),
41
34
resolve: {
42
extensions: ['.js', '.jsx']
43
0 commit comments