postcss-import
17.0.1 · 13 Oct 2026MIT52.1M / weekRepositoryHomepagenpmAtom feed
59 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 4.x
4.0.0
11 Dec 2014Added: windows compatibility (by building on AppVeyor)
Added:
rootoption
- 3.x
3.0.0
24 Nov 2014Added: ability to consume node modules (ref). This means you don't have to add
node_modulesin the path anymore (or using@import "../node_modules/..."). Also,index.csscan be ommited.Changed: When importing a file multiple times in the same scope (same level of media queries), file will only be imported the first time. This is done to avoid having multiples outputs of a npm dep used multiples times in different modules.
Added: ability to consume node modules (ref). This means you don't have to add
node_modulesin the path anymore (or using@import "../node_modules/..."). Also,index.csscan be ommited.
This means something like this
@import "../node_modules/my-css-on-npm/index.css";
can be written like this
@import "my-css-on-npm";
Dependencies of dependencies should be resolved as well.
Note that npm resolution is done after the default local behavior.
Changed: When importing a file multiple times in the same scope (same level of media queries), file will only be imported the first time. This is done to avoid having multiples outputs of a npm dep used multiples times in different modules.
- 2.x
2.0.0
12 Nov 2014Added: compatibility with postcss v3.x
Removed: compatibility with postcss v2.x
- 1.x
1.0.3
29 Oct 2014Fixed: relative import path stack
1.0.1
26 Aug 2014Fixed: GNU message format
Added: Support empty files (cssnext/#24)
1.0.0
10 Aug 2014✨ First release based on rework-import v1.2.0 (mainly for fixtures)
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.