Skip to content

DeprecationWarning: Tapable.plugin & LibSass @import error/warnings #11202

@henjovr

Description

@henjovr

Bug Report or Feature Request (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request

Area

- [x] devkit
- [ ] schematics

Versions

Node v8.9.1
NPM 5.5.1
Windows 10
@angular/cli 6.0.8

Repro steps

Upgraded project from 5.2 to 6, using the upgrade steps. Application is working perfectly, but gives these compile warnings/errors:

ng build --output-hashing none --prod --progress false
ng test --watch=false --browsers PhantomJS --progress false

The log given by the failure

BUILD log output:

`DEPRECATION WARNING on line 11, column 8 of stdin:
Including .css files with @import is non-standard behaviour which will be removed in future versions of LibSass.
Use a custom importer to maintain this behaviour. Check your implementations documentation on how to create a custom importer.`

TEST log output:
`(node:15240) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead`

Desired functionality

No more errors/warnings.

Mention any other details that might be useful

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions