We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c78379 commit 50db85eCopy full SHA for 50db85e
lib/module.js
@@ -5,6 +5,13 @@ const logger = require('./logger')
5
logger.info = logger.debug
6
7
function proxyModule (options) {
8
+ const { nuxt } = this
9
+
10
+ // Skip module for `nuxt build` (#74)
11
+ if (!nuxt.options.server) {
12
+ return
13
+ }
14
15
if (!this.options.proxy) {
16
// No proxy defined
17
logger.warn('No proxy defined on top level.')
0 commit comments