Merge pull request #1725 from mailpoet/webpack-upgrade

Webpack upgrade [MAILPOET-1667]
This commit is contained in:
M. Shull
2019-01-14 21:30:09 -05:00
committed by GitHub
5 changed files with 1439 additions and 478 deletions

View File

@@ -0,0 +1,6 @@
var amdInjectLoader = require('amd-inject-loader');
// fix original 'amd-inject-loader' for Webpack 4 by adding missing 'options' field to its context
module.exports = function amdInjectLoaderFixed(input) {
return amdInjectLoader.call(Object.assign({}, this, { options: {} }), input);
};