Skip to content

development模式下仍然会去加载bundle文件 #11

Description

@chj-damon

按照metro.config.js的配置:

module.exports =
  process.env.NODE_ENV === 'production'
    ? mcs.mergeTo(busineConfig)
    : busineConfig

当development模式的时候,metro-code-split的配置不应该生效的,但是实际上在运行Example的时候发现,即便是在development的情况下,还是会去走加载bundle的路子。

请问这算是bug吗?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions