-
Notifications
You must be signed in to change notification settings - Fork 180
升级到3.6之后build出现错误 #1278
Comments
不能 require output 中指定的文件。 |
build 详细信息是这样的。 ERROR in ./exposure.click.js ERROR in ./report.js ERROR in ./ttyd.js 比如我在report.js 中有这样的require |
新版本不可以,或者说 webpack 不可以。
|
那这个问题在新版里面要怎么做呢?谢谢 |
|
既需要被依赖又需要被输出的文件,就单独再起一个文件,只 require 他 |
比如要输出 a 和 b,而 a 又 require 了 b,这时会报上面的错。可以新建一个 c,把 b 的内容给 c,然后 a 和 b 都 require c,这样就不会报错了。 |
你好,spm在另外一台机器上升级到最新版本v3.6.0之后,编译出现这样的错误。
请问这个要怎么解决?
之前运行的版本是v3.4.2. 感谢感谢!
The text was updated successfully, but these errors were encountered: