Skip to content

发现一个很奇葩的问题 #440

@luxueyan

Description

@luxueyan

在webpack.base.conf.js 配置了autoprefixer,dev和production 都是用这个配置
image

但是奇葩的问题来了,开发模式:display:flex; 编译后结果:
image

npm run build 构建后的结果:
image

结果不一样,少了一个display:-webkit-flex; 这导致我调试半天,找不到问题所在,我确认默认是用vue-cli生成的项目,然后添加了这个autoprefixer 的配置,求大侠们指点!

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