From 636f1fcbe67e48d5d804c3e1ace4c77e81ae6f0f Mon Sep 17 00:00:00 2001 From: dunhuang Date: Tue, 10 Apr 2018 23:34:04 +0800 Subject: [PATCH] add emitFile in url-loader options --- packages/razzle/config/createConfig.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/razzle/config/createConfig.js b/packages/razzle/config/createConfig.js index a6032cb6a..8837a7ab0 100644 --- a/packages/razzle/config/createConfig.js +++ b/packages/razzle/config/createConfig.js @@ -168,6 +168,7 @@ module.exports = ( options: { limit: 10000, name: 'static/media/[name].[hash:8].[ext]', + emitFile: IS_NODE ? false : true }, },