From 8fefae7071f5de2faab58fc45af761194c216f6b Mon Sep 17 00:00:00 2001 From: Yinghua Date: Tue, 10 Apr 2018 23:44:29 +0800 Subject: [PATCH] add emitFile in url-loader options (#576) --- 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 }, },