diff --git a/lib/builder/webpack/utils/lodash-loader.js b/lib/builder/webpack/utils/lodash-loader.js index b1c841aacf..d574732f9e 100644 --- a/lib/builder/webpack/utils/lodash-loader.js +++ b/lib/builder/webpack/utils/lodash-loader.js @@ -1,7 +1,7 @@ -import _ from 'lodash' -import loaderUtils from 'loader-utils' +const _ = require('lodash') +const loaderUtils = require('loader-utils') -export default function loader(source) { +module.exports = function (source) { if (this.cacheable) { this.cacheable() }