All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
sourceRoot
is present (#901) (e9ce745)getLocalIdent
now accepts false
value (#865) (1825e8a)urls()
with ?#hash
(#803) (417d105)import
at-rules (#806) (4bdf08b)URL
in import
at-rules (#818) (3ebdcd5)require
for urls()
(#854) (3338656)composes
(#845) (453248f)urls()
resolving logic for modules
(local
and global
) and without modules (#843) (fdcf687)import
option doesn't affect on composes
(#822) (f9aa73c)urls
(#856) (5e702e7)import
at-rules (#857) (5e6034c)urls()
(#832) (da95db8)exportOnlyLocals
option (#824) (e9327c0)postcss
ast from other loaders (i.e postcss-loader
) (#840) (1dad1fb)url()
and import
at-rules works the same everywhere, it does not matter whether css modules are enabled (with global
and local
module) or not. Examples - url('image.png')
as require('./image.png')
, url('./image.png')
as require('./image.png')
, url('~module/image.png')
as require('module/image.png')
.modules: false
disable all css modules features), you can return old behaviour change this on modules: 'global'
css-loader/locals
was dropped in favor exportOnlyLocals
optionimport
option only affect on import
at-rules and doesn't affect on composes
declarations@import
at rules now emit warningspostcss@7
minimize
option, use postcss-loader
with cssnano
or use optimize-cssnano-plugin
pluginmodule
option, use modules
option insteadcamelcase
option, use camelCase
option insteadroot
option, use postcss-loader
with postcss-url
pluginalias
option, use resolve.alias
feature or use postcss-loader
with postcss-url
pluginpostcss
to 6
versionnodejs
version is 6.9
webpack
version is 4
undefined
(#641) (0dccfa9)url()
) (#627) (8897d44)options.camelCase
) (#556) (1fee601)[@import](https://github.com/import)
tolerance (#593) (2e4ec09)url
with space(s) (#495) (534ea55)btoa
instead Buffer
(#501) (fbb0714)minimizeOptions
should be query.minimize
! (16c0858)