diff --git a/lib/builder/webpack/utils/postcss.js b/lib/builder/webpack/utils/postcss.js index 5f1c2474fe..2a2f3fa717 100644 --- a/lib/builder/webpack/utils/postcss.js +++ b/lib/builder/webpack/utils/postcss.js @@ -84,7 +84,7 @@ export default class PostcssConfig { // Map postcss plugins into instances on object mode once config.plugins = Object.keys(plugins) .map(p => { - const plugin = this.nuxt.requireModule(p) + const plugin = require(p) const opts = plugins[p] if (opts === false) return // Disabled const instance = plugin(opts)