Skip to content

Commit

Permalink
Deprecate addDependencyTo
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanZim committed Nov 18, 2016
1 parent dbb2f60 commit 49cf9be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ disable it.
Type: `Object`
Default: null

**DEPRECATED.** _If you are using postcss-import v8.2.0 & postcss-loader v1.0.0 or later, this is unnecessary._

An object with `addDependency()` method, taking file path as an argument.
Called whenever a file is imported.
You can use it for hot-reloading in webpack `postcss-loader` like this:
Expand Down

0 comments on commit 49cf9be

Please sign in to comment.