You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2019/08/27 03:17:42 UTC

[GitHub] [incubator-weex] michaeldong opened a new issue #2851: Webpack config : externals not work

michaeldong opened a new issue #2851: Webpack config : externals not work
URL: https://github.com/apache/incubator-weex/issues/2851
 
 
   在bundle打包的时候配置rax不打入bundle包,使用内置在客户端的rax库。
   externals: {
           rax: true, // 是否使用内置到客户端的rax组件
    },
   发现报错:
   [WX_KEY_EXCEPTION_WXBRIDGE] [undefined:1:21] ReferenceError: Can't find variable: rax
   eval code
   eval@[native code]
   rax@http://10.231.87.110:8889/js/index.bundle.js:3533:5
   提示rax没有设置成功,
   js引入方式: import { createElement, Component, render } from 'rax';
   why? 客户端sdk已经是最新版本~
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services