Skip to content

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

@chj-damon

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吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions