Skip to content

autoprefixer not work, when run ng build --prod #3268

@vuuvv

Description

@vuuvv

OS?

Windows 7, 8 or 10. Linux (which distribution).

Versions.

angular-cli: 1.0.0-beta.21
node: 6.9.1
os: win32 x64

Run ng build, autoprefixer works fine.
Run ng build --prod, autoprefixer not work.

Change file angular-cli\models\webpack-build-production.ts, add autoprefixer() to LoaderOptionsPlugin, then ng build --prod works fine.

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