From 7a235621c19bfe63de50f09b45b6e7271b42ca10 Mon Sep 17 00:00:00 2001 From: Dmitry Molotkov Date: Tue, 27 Nov 2018 02:52:16 +0300 Subject: [PATCH] remove unneeded node whitelist It is handled by tranpile property by nuxt already --- template/nuxt.config.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/template/nuxt.config.js b/template/nuxt.config.js index 5d243a92..32204519 100644 --- a/template/nuxt.config.js +++ b/template/nuxt.config.js @@ -1,5 +1,4 @@ {{#alacarte}} -const nodeExternals = require('webpack-node-externals') const VuetifyLoaderPlugin = require('vuetify-loader/lib/plugin') {{/alacarte}} module.exports = { @@ -45,15 +44,6 @@ module.exports = { exclude: /(node_modules)/ }) } - {{#alacarte}} - if (process.server) { - config.externals = [ - nodeExternals({ - whitelist: [/^vuetify/] - }) - ] - } - {{/alacarte}} } } }