Skip to content

Commit 708976e

Browse files
authored
Remove externals
Externals aren't needed and prevent things from working in some situations.
1 parent d80c6fc commit 708976e

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

webpack.config.js

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -68,23 +68,6 @@ module.exports = function () {
6868
'vue$': 'vue/dist/vue.esm.js' // 'vue/dist/vue.common.js' for webpack 1
6969
}
7070
},
71-
externals: {
72-
'@wordpress/a11y': 'wp.a11y',
73-
'@wordpress/components': 'wp.components', // Not really a package.
74-
'@wordpress/blocks': 'wp.blocks', // Not really a package.
75-
'@wordpress/data': 'wp.data', // Not really a package.
76-
'@wordpress/date': 'wp.date', // Not really a package.
77-
'@wordpress/element': 'wp.element', // Not really a package.
78-
'@wordpress/i18n': 'wp.i18n',
79-
'@wordpress/utils': 'wp.utils', // Not really a package
80-
backbone: 'Backbone',
81-
jquery: 'jQuery',
82-
lodash: 'lodash',
83-
moment: 'moment',
84-
react: 'React',
85-
'react-dom': 'ReactDOM',
86-
tinymce: 'tinymce',
87-
},
8871
module: {
8972
rules: [
9073
{

0 commit comments

Comments
 (0)