Skip to content

different css outputs from serve and build script #927

Closed
@you06

Description

@you06

Version

3.0.0-beta.3

Reproduction link

https://github.com/you06/vue-cli-css-issue

Steps to reproduce

The following css is in https://github.com/you06/vue-cli-css-issue/blob/master/src/components/HelloWorld.vue#L19

background-image: linear-gradient(top, #ffffff, #2196F3);

running yarn build, check the style from chrome, webkit compatible is auto added

background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#2196F3));
background-image: linear-gradient(top, #ffffff, #2196F3);

running yarn serve, check the style from chrome, there is no webkit compatible

background-image: linear-gradient(top, #ffffff, #2196F3);

What is expected?

I think the serve and build script should get the same output.

What is actually happening?

The css output is different.

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