Skip to content

多页面项目,开发环境编译很慢 #2953

@ivan403704409

Description

@ivan403704409

Version

3.1.3

Reproduction link

no link

Node and OS info

Node 8.9.4 / yarn 1.7.0 / Windows 10

Steps to reproduce

1.设置多页面入口
2.编译开发环境
3.随便修改一个文件

What is expected?

编译速度瞬间完成

What is actually happening?

编译很慢,长达10几秒到30秒不等,有时更长


在vue cli 2中,我把html-webpack-plugin换成html-webpack-plugin-for-multihtml后,编译速度变成毫秒级,
jantimon/html-webpack-plugin#724
是否考虑替换?或者是否有入口可以让使用者进行替换?

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