From 7cb68a138f7d3e895be3ef789da8f94c9d419061 Mon Sep 17 00:00:00 2001 From: zhipenglin Date: Mon, 4 Mar 2019 20:51:36 +0800 Subject: [PATCH] fix(component): fix warning message about babel (#255) Fix #253 --- packages/component/src/createLoadable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/component/src/createLoadable.js b/packages/component/src/createLoadable.js index fd36a32b..ba53d93e 100644 --- a/packages/component/src/createLoadable.js +++ b/packages/component/src/createLoadable.js @@ -36,7 +36,7 @@ function createLoadable({ resolve = identity, render, onLoad }) { invariant( !props.__chunkExtractor || ctor.requireSync, - 'SSR requires `@loadable/babel`, please install it', + 'SSR requires `@loadable/babel-plugin`, please install it', ) // Server-side