2.0.0 (2025-02-09)
- deps: reset stylus version (50a9082)
- ci: refactor husky hooks (66c2a2c)
- deps: update (4c9e22f)
- deps: upgrade minor deps (24cf4fb)
- sass: emove official support for node-sass (c0a0a08)
- sass: update sass types and tests (3b83138)
- update deps (38fb4de)
- update sass import (b99b31d)
- sass: Remove official support for node-sass
1.8.0 (2023-12-22)
- correct workQueue def (8c3e71d)
1.7.0 (2023-12-22)
1.6.0 (2023-11-30)
- rename package again (last time) (58370bc)
1.5.0 (2023-11-18)
- ignore dev deps (1e756f1)
1.4.0 (2023-11-18)
- improve esm support (b1ded31)
1.3.0 (2023-11-17)
- more es6 support (c4bcb55)
1.2.0 (2023-11-17)
1.1.0 (2023-11-17)
- export types (7f6ec74)
onExtract
func check and desc (4bfaac5)onExtract
option fix (65d74cf)- avoid partial names replacement when aliasing (f5aa1e2)
- avoid postcss warning about no plugins (dbd72b7)
- better lf placement for output (663c184)
- better match Rollup's hashing method (1825045)
- better typedoc (fb31286)
- build: add dependabot and dependency badge (761e3ed)
- build: disable minification for use with
patch-package
(fbba337) - changelog: repairs after github breakage (b01e058)
- ci: do not release twice (fc719f2)
- code generation: imports should precede exports (814ccdb)
- code splitting: infinite loop on cyclic imports (4dd0ca3)
- code splitting: potential over-extraction (0b94909)
- correct filename for single file /w
preserveModules
(837f9ed) - correct multi-file detection (d92d6da)
- correctly resolve file imports with query params (#148) (71bfe87), closes #132
- deps: more precise pkg versions (403158c)
- do not bundle mime-types (e444f04)
- do not depend on directory structure for hashing (18c3022)
- extract: allow paths relative to cwd (bdfc266)
- extract: missing parts of extracted file (9afa9ac)
- filter out only related files (0976e8f)
- fix overwrite style file in preserveModules mode (2c13345)
- fix production build, also speed up builds (b5b2e4f)
- function name typo (d7574fb)
- hashed url handling (5735a01)
- infinite postcss loop (c8cf892)
- injector: external @babel/runtime (129aff5)
- injector: pass selector instead of element as container (63bc959)
- keep references inside declaration (a6f9b35), closes #159
- less: add plugins to less loader options type (8b502ef)
- less: fileManager inheritance (aba12a4)
- less: fix importer (7900186)
- less: remove less from bundle (9dafe0a)
- less: respect
paths
options (a72ab4c), closes #125 - less: use provided less in importer (66f0fce)
- loaders: clearly show what options are public (2ab86be)
- loaders: run
sourcemap
loader first (b651be3) - minimize exports in extract mode as well (ab919d7)
- misc fixes (a4d3924)
- missing fs-extra (4173a2a)
- missing/overwritten files (b4dc69c)
- more reliable chunk hash augmentation (91f9b8f), closes #143
- multi-entry: correct and consistent order of single extracted file (553ca85)
- node: wrong supported version of Node.js (3fb9f80)
- normalize assetFileNames dir (f551a76)
- occasional wrong order in extract mode (52cb377), closes #153
- options:
use
type (41884fb) - p-queue: proper default size (156ebff)
- partials: incorrect path without dir in url (68d40be)
- path-utils: fix relativePath (e22ca71)
- postcss related types (df78c78)
- prioritize
sass
overnode-sass
(e9a93ef) - proper declaration file (0b5502b)
- readme: clarification (6f5b995)
- readme: fix links (208c254)
- readme: fix more links (c4e6690)
- readme: tagline wording (0a55020)
- remove from sourcemap (b1c32e8)
- remove debugging log (e09ac09)
- remove puppeteer (13bf4e8)
- resolving
url
outside of first order place (c61f0ce), closes #126 - respect
output.file
for main CSS chunk (19eb9d7) - respect content option for minification (59b3c07)
- respect esm and styles for sync resolves (0c51253)
- respect NODE_ENV (7a600c3)
- respect programmatic manual chunks as well (311e0dc)
- respect rollup's sourcemap (cc6ad34)
- revert removal (8def44e)
- runtime: safer option check (78a5922)
- runtime: working singleTag option (5d6a5c8)
- sass!: remove
fibers
support (8992356) - sass: do not modify non-module url (fd022c6)
- sass: properly call custom resolvers (002366f)
- skip parsing of invalid sourcemaps (a96d01f)
- small misc fixes and changes (7cbb05a)
- sourcemap: broken single line URL comments extraction (fd8ebf9)
- sourcemap: more reliable detection (a419361)
- sourcemaps: hashing and fixes for inlining in
extract
mode (c2bb12d) - styles-url: clarify which url is unresolved (aefc263)
- styles: clean dist (511ea8d)
- styles: fix CSS injector (f4ccef4)
- stylus: proper sourcesContent (f9b4774)
- stylus: respect local node_modules (eebbbed)
- test and warning for already processed files (19fd942)
- treeshakable: use es5 syntax for treeshakable object (#177) (a084834)
- trigger release due to
semantic-release
failure (see here) (c9e6acf), closes /github.com/Anidetrix/rollup-plugin-styles/blob/master/CHANGELOG.md#354-2020-05-22 - typenames too long for typedoc (13e2d49)
- types: fix less typings (c129dec)
- uniform sass error message (49655a4)
- url handler: working default
assetDir
(7187a27) - url: consider all possible basedirs (62353b2)
- use path.parse instead of regex (135b658)
- utils: async resolve types (08ae382)
- very rare double code extraction (d89a5fe)
- .d.ts generation and treeshakeable injector options (2990cb0)
- allow multiple instances of the plugin (aa0d4d1)
- code splitting rework /w
preserveModules
support (8f44a7a) - code splitting: rollup's
manualChunks
option support (5aeb350) - cssnano!: v5 (5d6ccc1)
- dir in css modules class names (94d10b2)
- extended browser support (>=ie9, or >=ie8 with polyfills) (d849278)
- importer: extensions override (74fcd39)
- import: resolve extensions (9005ab8)
- injector: ability to set attibutes (653e91c)
- injector: one less polyfill needed for ie8 (97796d8)
- modules: customizable
autoModules
(c3298de) - multi entry support (840996c)
- node: drop v10 (5786615)
- option to disable
sourcesContent
in sourcemaps (afc440b) - pass resulting filename to sourcemap transformer when possible (5570cf4)
- postcss 8 upgrade (b9adee9)
- postcss: support both object and array for plugin (7ce53b9)
- replace
postcss-load-config
with custom implementation (50b19bb) - resolve:
exports
fields support (thanks @kherock) (eb22803) - respect for
.cjs
files and move towardsexports
fields (cc391bb) - respect rollup's 2.18.0 option changes (53072b0)
- sass:
exports
conditions (#197) (2d390de) - sass: sync mode support with dart implementation (91846bc)
- silently skip empty files (a34bdbf)
- sourcemap transformation (ed49328), closes #160
- styles: add singleTag option for CSS injection (b7e4ca8)
- styles: postcss plugins without require (7db718f)
- styles: v2 (21d2c9d)
- support functional assetFileNames (91d4ca2)
- support partials and ~ in Less @import statements (b4fbda5)
- support web url and query strings inside @import (bbff4e5), closes #140
- update package (9f4dd9c)
- update rollup config (e3f1053)
- url: automatically inline assets in inject mode (db7dc9a)
- v3 (c0a7daa)
- bundle minification (369279a)
- global p-queue for all loaders (ccac951)
- less: less allocations in importer (bf3710a)
- less: less code (2717427)
- misc optimizations (df1d1ee)
- modules: simpler internal implementation (c1f92e1)
- overall considerable performance improvements (6c08d55)
- overall improvements and optimizations (a460dd0)
- path: unneded normalization (df03c59)
- postcss: less allocations (c9ac3f5)
- postcss: less type checking (5611655)
- project: refactoring and optimizations (d3405aa)
- relace import-cwd with resolve (dd4310e)
- removed deprecated rollup API (46b73e6)
- replace concat-with-sourcemaps with custom function (a1b04d2)
- replace some sets with arrays (2b7c28e)
- resolved modules caching (7eab36d)
- runtime: less operations (7375fe7)
- simpler error handling (438d5b1)
- sourcemap: less operations (178e2d4)
- sourcemap: switch to
source-map-js
(0488634) - styles: do not call path.join twice (272bb8b)
- styles: small CSS injector optimization (fbdd413)
- tiny optimizations (309e37b)
- types: trimmed down vendor types (6a52be8)
- Use Set to optimize performance (b402687)
- resolve: resolver now prioritizes
exports
fields before any others, includingstyle
insideexports
over independentstyle
field sass
is now the default Sass implementation due tonode-sass
deprecation- node: Now support v12.20.0 and up
- Some breaking changes occured:
- output.assetFileNames is now respected for both CSS files and assets from CSS
extract
's path now should be relative to output dir/output file's basedir, but not outside of itextract
's path no longer passed to PostCSS asto
, added dedicatedto
option instead- Removed
hash
option from url handler (now handled by Rollup's assetFileName) assetDir
option for url handler no longer affects resulting URL- signature changes for
onExtract
As always, please consult documentation and API Reference for details - styles: A lot of API and behavior changes, please consult README and API Reference
onExtract
func check and desc (4bfaac5)onExtract
option fix (65d74cf)- avoid partial names replacement when aliasing (f5aa1e2)
- avoid postcss warning about no plugins (dbd72b7)
- better lf placement for output (663c184)
- better match Rollup's hashing method (1825045)
- better typedoc (fb31286)
- build: add dependabot and dependency badge (761e3ed)
- build: disable minification for use with
patch-package
(fbba337) - changelog: repairs after github breakage (b01e058)
- ci: do not release twice (fc719f2)
- code generation: imports should precede exports (814ccdb)
- code splitting: infinite loop on cyclic imports (4dd0ca3)
- code splitting: potential over-extraction (0b94909)
- correct filename for single file /w
preserveModules
(837f9ed) - correct multi-file detection (d92d6da)
- correctly resolve file imports with query params (#148) (71bfe87), closes #132
- deps: more precise pkg versions (403158c)
- do not bundle mime-types (e444f04)
- do not depend on directory structure for hashing (18c3022)
- extract: allow paths relative to cwd (bdfc266)
- extract: missing parts of extracted file (9afa9ac)
- filter out only related files (0976e8f)
- fix overwrite style file in preserveModules mode (2c13345)
- fix production build, also speed up builds (b5b2e4f)
- function name typo (d7574fb)
- hashed url handling (5735a01)
- infinite postcss loop (c8cf892)
- injector: external @babel/runtime (129aff5)
- injector: pass selector instead of element as container (63bc959)
- keep references inside declaration (a6f9b35), closes #159
- less: add plugins to less loader options type (8b502ef)
- less: fileManager inheritance (aba12a4)
- less: fix importer (7900186)
- less: remove less from bundle (9dafe0a)
- less: respect
paths
options (a72ab4c), closes #125 - less: use provided less in importer (66f0fce)
- loaders: clearly show what options are public (2ab86be)
- loaders: run
sourcemap
loader first (b651be3) - minimize exports in extract mode as well (ab919d7)
- misc fixes (a4d3924)
- missing fs-extra (4173a2a)
- missing/overwritten files (b4dc69c)
- more reliable chunk hash augmentation (91f9b8f), closes #143
- multi-entry: correct and consistent order of single extracted file (553ca85)
- node: wrong supported version of Node.js (3fb9f80)
- normalize assetFileNames dir (f551a76)
- occasional wrong order in extract mode (52cb377), closes #153
- options:
use
type (41884fb) - p-queue: proper default size (156ebff)
- partials: incorrect path without dir in url (68d40be)
- path-utils: fix relativePath (e22ca71)
- postcss related types (df78c78)
- prioritize
sass
overnode-sass
(e9a93ef) - proper declaration file (0b5502b)
- readme: clarification (6f5b995)
- readme: fix links (208c254)
- readme: fix more links (c4e6690)
- readme: tagline wording (0a55020)
- remove from sourcemap (b1c32e8)
- remove debugging log (e09ac09)
- remove puppeteer (13bf4e8)
- resolving
url
outside of first order place (c61f0ce), closes #126 - respect
output.file
for main CSS chunk (19eb9d7) - respect content option for minification (59b3c07)
- respect esm and styles for sync resolves (0c51253)
- respect NODE_ENV (7a600c3)
- respect programmatic manual chunks as well (311e0dc)
- respect rollup's sourcemap (cc6ad34)
- revert removal (8def44e)
- runtime: safer option check (78a5922)
- runtime: working singleTag option (5d6a5c8)
- sass!: remove
fibers
support (8992356) - sass: do not modify non-module url (fd022c6)
- sass: properly call custom resolvers (002366f)
- skip parsing of invalid sourcemaps (a96d01f)
- small misc fixes and changes (7cbb05a)
- sourcemap: broken single line URL comments extraction (fd8ebf9)
- sourcemap: more reliable detection (a419361)
- sourcemaps: hashing and fixes for inlining in
extract
mode (c2bb12d) - styles-url: clarify which url is unresolved (aefc263)
- styles: clean dist (511ea8d)
- styles: fix CSS injector (f4ccef4)
- stylus: proper sourcesContent (f9b4774)
- stylus: respect local node_modules (eebbbed)
- test and warning for already processed files (19fd942)
- treeshakable: use es5 syntax for treeshakable object (#177) (a084834)
- trigger release due to
semantic-release
failure (see here) (c9e6acf), closes /github.com/Anidetrix/rollup-plugin-styles/blob/master/CHANGELOG.md#354-2020-05-22 - typenames too long for typedoc (13e2d49)
- types: fix less typings (c129dec)
- uniform sass error message (49655a4)
- url handler: working default
assetDir
(7187a27) - url: consider all possible basedirs (62353b2)
- use path.parse instead of regex (135b658)
- utils: async resolve types (08ae382)
- very rare double code extraction (d89a5fe)
- .d.ts generation and treeshakeable injector options (2990cb0)
- allow multiple instances of the plugin (aa0d4d1)
- code splitting rework /w
preserveModules
support (8f44a7a) - code splitting: rollup's
manualChunks
option support (5aeb350) - cssnano!: v5 (5d6ccc1)
- dir in css modules class names (94d10b2)
- extended browser support (>=ie9, or >=ie8 with polyfills) (d849278)
- importer: extensions override (74fcd39)
- import: resolve extensions (9005ab8)
- injector: ability to set attibutes (653e91c)
- injector: one less polyfill needed for ie8 (97796d8)
- modules: customizable
autoModules
(c3298de) - multi entry support (840996c)
- node: drop v10 (5786615)
- option to disable
sourcesContent
in sourcemaps (afc440b) - pass resulting filename to sourcemap transformer when possible (5570cf4)
- postcss 8 upgrade (b9adee9)
- postcss: support both object and array for plugin (7ce53b9)
- replace
postcss-load-config
with custom implementation (50b19bb) - resolve:
exports
fields support (thanks @kherock) (eb22803) - respect for
.cjs
files and move towardsexports
fields (cc391bb) - respect rollup's 2.18.0 option changes (53072b0)
- sass:
exports
conditions (#197) (2d390de) - sass: sync mode support with dart implementation (91846bc)
- silently skip empty files (a34bdbf)
- sourcemap transformation (ed49328), closes #160
- styles: add singleTag option for CSS injection (b7e4ca8)
- styles: postcss plugins without require (7db718f)
- styles: v2 (21d2c9d)
- support functional assetFileNames (91d4ca2)
- support partials and ~ in Less @import statements (b4fbda5)
- support web url and query strings inside @import (bbff4e5), closes #140
- update package (9f4dd9c)
- update rollup config (bc728f0)
- url: automatically inline assets in inject mode (db7dc9a)
- v3 (c0a7daa)
- bundle minification (369279a)
- global p-queue for all loaders (ccac951)
- less: less allocations in importer (bf3710a)
- less: less code (2717427)
- misc optimizations (df1d1ee)
- modules: simpler internal implementation (c1f92e1)
- overall considerable performance improvements (6c08d55)
- overall improvements and optimizations (a460dd0)
- path: unneded normalization (df03c59)
- postcss: less allocations (c9ac3f5)
- postcss: less type checking (5611655)
- project: refactoring and optimizations (d3405aa)
- relace import-cwd with resolve (dd4310e)
- removed deprecated rollup API (46b73e6)
- replace concat-with-sourcemaps with custom function (a1b04d2)
- replace some sets with arrays (2b7c28e)
- resolved modules caching (7eab36d)
- runtime: less operations (7375fe7)
- simpler error handling (438d5b1)
- sourcemap: less operations (178e2d4)
- sourcemap: switch to
source-map-js
(0488634) - styles: do not call path.join twice (272bb8b)
- styles: small CSS injector optimization (fbdd413)
- tiny optimizations (309e37b)
- types: trimmed down vendor types (6a52be8)
- Use Set to optimize performance (b402687)
- resolve: resolver now prioritizes
exports
fields before any others, includingstyle
insideexports
over independentstyle
field sass
is now the default Sass implementation due tonode-sass
deprecation- node: Now support v12.20.0 and up
- Some breaking changes occured:
- output.assetFileNames is now respected for both CSS files and assets from CSS
extract
's path now should be relative to output dir/output file's basedir, but not outside of itextract
's path no longer passed to PostCSS asto
, added dedicatedto
option instead- Removed
hash
option from url handler (now handled by Rollup's assetFileName) assetDir
option for url handler no longer affects resulting URL- signature changes for
onExtract
As always, please consult documentation and API Reference for details - styles: A lot of API and behavior changes, please consult README and API Reference
onExtract
func check and desc (4bfaac5)onExtract
option fix (65d74cf)- avoid partial names replacement when aliasing (f5aa1e2)
- avoid postcss warning about no plugins (dbd72b7)
- better lf placement for output (663c184)
- better match Rollup's hashing method (1825045)
- better typedoc (fb31286)
- build: add dependabot and dependency badge (761e3ed)
- build: disable minification for use with
patch-package
(fbba337) - changelog: repairs after github breakage (b01e058)
- ci: do not release twice (fc719f2)
- code generation: imports should precede exports (814ccdb)
- code splitting: infinite loop on cyclic imports (4dd0ca3)
- code splitting: potential over-extraction (0b94909)
- correct filename for single file /w
preserveModules
(837f9ed) - correct multi-file detection (d92d6da)
- correctly resolve file imports with query params (#148) (71bfe87), closes #132
- deps: more precise pkg versions (403158c)
- do not bundle mime-types (e444f04)
- do not depend on directory structure for hashing (18c3022)
- extract: allow paths relative to cwd (bdfc266)
- extract: missing parts of extracted file (9afa9ac)
- filter out only related files (0976e8f)
- fix overwrite style file in preserveModules mode (2c13345)
- fix production build, also speed up builds (b5b2e4f)
- function name typo (d7574fb)
- hashed url handling (5735a01)
- infinite postcss loop (c8cf892)
- injector: external @babel/runtime (129aff5)
- injector: pass selector instead of element as container (63bc959)
- keep references inside declaration (a6f9b35), closes #159
- less: add plugins to less loader options type (8b502ef)
- less: fileManager inheritance (aba12a4)
- less: fix importer (7900186)
- less: remove less from bundle (9dafe0a)
- less: respect
paths
options (a72ab4c), closes #125 - less: use provided less in importer (66f0fce)
- loaders: clearly show what options are public (2ab86be)
- loaders: run
sourcemap
loader first (b651be3) - minimize exports in extract mode as well (ab919d7)
- misc fixes (a4d3924)
- missing fs-extra (4173a2a)
- missing/overwritten files (b4dc69c)
- more reliable chunk hash augmentation (91f9b8f), closes #143
- multi-entry: correct and consistent order of single extracted file (553ca85)
- node: wrong supported version of Node.js (3fb9f80)
- normalize assetFileNames dir (f551a76)
- occasional wrong order in extract mode (52cb377), closes #153
- options:
use
type (41884fb) - p-queue: proper default size (156ebff)
- partials: incorrect path without dir in url (68d40be)
- path-utils: fix relativePath (e22ca71)
- postcss related types (df78c78)
- prioritize
sass
overnode-sass
(e9a93ef) - proper declaration file (0b5502b)
- readme: clarification (6f5b995)
- readme: fix links (208c254)
- readme: fix more links (c4e6690)
- readme: tagline wording (0a55020)
- remove from sourcemap (b1c32e8)
- remove debugging log (e09ac09)
- remove puppeteer (13bf4e8)
- resolving
url
outside of first order place (c61f0ce), closes #126 - respect
output.file
for main CSS chunk (19eb9d7) - respect content option for minification (59b3c07)
- respect esm and styles for sync resolves (0c51253)
- respect NODE_ENV (7a600c3)
- respect programmatic manual chunks as well (311e0dc)
- respect rollup's sourcemap (cc6ad34)
- revert removal (8def44e)
- runtime: safer option check (78a5922)
- runtime: working singleTag option (5d6a5c8)
- sass!: remove
fibers
support (8992356) - sass: do not modify non-module url (fd022c6)
- sass: properly call custom resolvers (002366f)
- skip parsing of invalid sourcemaps (a96d01f)
- small misc fixes and changes (7cbb05a)
- sourcemap: broken single line URL comments extraction (fd8ebf9)
- sourcemap: more reliable detection (a419361)
- sourcemaps: hashing and fixes for inlining in
extract
mode (c2bb12d) - styles-url: clarify which url is unresolved (aefc263)
- styles: clean dist (511ea8d)
- styles: fix CSS injector (f4ccef4)
- stylus: proper sourcesContent (f9b4774)
- stylus: respect local node_modules (eebbbed)
- test and warning for already processed files (19fd942)
- treeshakable: use es5 syntax for treeshakable object (#177) (a084834)
- trigger release due to
semantic-release
failure (see here) (c9e6acf), closes /github.com/Anidetrix/rollup-plugin-styles/blob/master/CHANGELOG.md#354-2020-05-22 - typenames too long for typedoc (13e2d49)
- types: fix less typings (c129dec)
- uniform sass error message (49655a4)
- url handler: working default
assetDir
(7187a27) - url: consider all possible basedirs (62353b2)
- use path.parse instead of regex (135b658)
- utils: async resolve types (08ae382)
- very rare double code extraction (d89a5fe)
- .d.ts generation and treeshakeable injector options (2990cb0)
- allow multiple instances of the plugin (aa0d4d1)
- code splitting rework /w
preserveModules
support (8f44a7a) - code splitting: rollup's
manualChunks
option support (5aeb350) - cssnano!: v5 (5d6ccc1)
- dir in css modules class names (94d10b2)
- extended browser support (>=ie9, or >=ie8 with polyfills) (d849278)
- importer: extensions override (74fcd39)
- import: resolve extensions (9005ab8)
- injector: ability to set attibutes (653e91c)
- injector: one less polyfill needed for ie8 (97796d8)
- modules: customizable
autoModules
(c3298de) - multi entry support (840996c)
- node: drop v10 (5786615)
- option to disable
sourcesContent
in sourcemaps (afc440b) - pass resulting filename to sourcemap transformer when possible (5570cf4)
- postcss 8 upgrade (b9adee9)
- postcss: support both object and array for plugin (7ce53b9)
- replace
postcss-load-config
with custom implementation (50b19bb) - resolve:
exports
fields support (thanks @kherock) (eb22803) - respect for
.cjs
files and move towardsexports
fields (cc391bb) - respect rollup's 2.18.0 option changes (53072b0)
- sass:
exports
conditions (#197) (2d390de) - sass: sync mode support with dart implementation (91846bc)
- silently skip empty files (a34bdbf)
- sourcemap transformation (ed49328), closes #160
- styles: add singleTag option for CSS injection (b7e4ca8)
- styles: postcss plugins without require (7db718f)
- styles: v2 (21d2c9d)
- support functional assetFileNames (91d4ca2)
- support partials and ~ in Less @import statements (b4fbda5)
- support web url and query strings inside @import (bbff4e5), closes #140
- update deps (fd44c1f)
- url: automatically inline assets in inject mode (db7dc9a)
- v3 (c0a7daa)
- bundle minification (369279a)
- global p-queue for all loaders (ccac951)
- less: less allocations in importer (bf3710a)
- less: less code (2717427)
- misc optimizations (df1d1ee)
- modules: simpler internal implementation (c1f92e1)
- overall considerable performance improvements (6c08d55)
- overall improvements and optimizations (a460dd0)
- path: unneded normalization (df03c59)
- postcss: less allocations (c9ac3f5)
- postcss: less type checking (5611655)
- project: refactoring and optimizations (d3405aa)
- relace import-cwd with resolve (dd4310e)
- removed deprecated rollup API (46b73e6)
- replace concat-with-sourcemaps with custom function (a1b04d2)
- replace some sets with arrays (2b7c28e)
- resolved modules caching (7eab36d)
- runtime: less operations (7375fe7)
- simpler error handling (438d5b1)
- sourcemap: less operations (178e2d4)
- sourcemap: switch to
source-map-js
(0488634) - styles: do not call path.join twice (272bb8b)
- styles: small CSS injector optimization (fbdd413)
- tiny optimizations (309e37b)
- types: trimmed down vendor types (6a52be8)
- Use Set to optimize performance (b402687)
- Revert "chore(release): 3.8.3 [skip ci]" (49b18ff)
- resolve: resolver now prioritizes
exports
fields before any others, includingstyle
insideexports
over independentstyle
field sass
is now the default Sass implementation due tonode-sass
deprecation- node: Now support v12.20.0 and up
- Some breaking changes occured:
- output.assetFileNames is now respected for both CSS files and assets from CSS
extract
's path now should be relative to output dir/output file's basedir, but not outside of itextract
's path no longer passed to PostCSS asto
, added dedicatedto
option instead- Removed
hash
option from url handler (now handled by Rollup's assetFileName) assetDir
option for url handler no longer affects resulting URL- signature changes for
onExtract
As always, please consult documentation and API Reference for details - styles: A lot of API and behavior changes, please consult README and API Reference
4.0.0 (2022-01-14)
- code generation: imports should precede exports (814ccdb)
- remove debugging log (e09ac09)
- sass!: remove
fibers
support (8992356)
- removed deprecated rollup API (46b73e6)
- sourcemap: switch to
source-map-js
(0488634) - Use Set to optimize performance (b402687)
- node: Now support v12.20.0 and up
3.14.1 (2021-01-28)
- filter out only related files (0976e8f)
- more reliable chunk hash augmentation (91f9b8f), closes #143
3.14.0 (2021-01-25)
- pass resulting filename to sourcemap transformer when possible (5570cf4)
3.13.0 (2021-01-24)
- respect esm and styles for sync resolves (0c51253)
3.12.2 (2021-01-11)
3.12.1 (2020-12-30)
3.12.0 (2020-12-28)
- resolving
url
outside of first order place (c61f0ce), closes #126 - less: respect
paths
options (a72ab4c), closes #125 - avoid partial names replacement when aliasing (f5aa1e2)
- utils: async resolve types (08ae382)
- silently skip empty files (a34bdbf)
- support functional assetFileNames (91d4ca2)
- support web url and query strings inside @import (bbff4e5), closes #140
3.11.0 (2020-10-10)
- infinite postcss loop (c8cf892)
- postcss 8 upgrade (b9adee9)
- Revert "chore(release): 3.10.1 [skip ci]" (dc16939)
3.10.1 (2020-10-07)
3.10.0 (2020-06-26)
- extract: missing parts of extracted file (9afa9ac)
- runtime: safer option check (78a5922)
- url: consider all possible basedirs (62353b2)
- .d.ts generation and treeshakeable injector options (2990cb0)
- postcss: support both object and array for plugin (7ce53b9)
3.9.0 (2020-06-23)
- very rare double code extraction (d89a5fe)
- replace
postcss-load-config
with custom implementation (50b19bb) - respect rollup's 2.18.0 option changes (53072b0)
- Revert "chore(release): 3.8.3 [skip ci]" (49b18ff)
3.8.2 (2020-06-11)
- missing/overwritten files (b4dc69c)
- loaders: clearly show what options are public (2ab86be)
- partials: incorrect path without dir in url (68d40be)
- tiny optimizations (309e37b)
3.8.1 (2020-06-11)
- fix overwrite style file in preserveModules mode (2c13345)
- use path.parse instead of regex (135b658)
3.8.0 (2020-06-08)
- sass: sync mode support with dart implementation (91846bc)
- overall considerable performance improvements (6c08d55)
- replace concat-with-sourcemaps with custom function (a1b04d2)
- resolved modules caching (7eab36d)
3.7.1 (2020-05-31)
- respect content option for minification (59b3c07)
3.7.0 (2020-05-31)
- option to disable
sourcesContent
in sourcemaps (afc440b)
3.6.1 (2020-05-27)
- respect programmatic manual chunks as well (311e0dc)
3.6.0 (2020-05-27)
- build: disable minification for use with
patch-package
(fbba337)
- code splitting: rollup's
manualChunks
option support (5aeb350) - injector: ability to set attibutes (653e91c)
- replace some sets with arrays (2b7c28e)
3.5.5 (2020-05-23)
- changelog: repairs after github breakage (b01e058)
3.5.4 (2020-05-23)
- trigger release due to
semantic-release
failure (see here) (c9e6acf), closes /github.com/Anidetrix/rollup-plugin-styles/blob/master/CHANGELOG.md#354-2020-05-22 - code splitting: infinite loop on cyclic imports (4dd0ca3)
3.5.3 (2020-05-20)
- small misc fixes and changes (7cbb05a)
3.5.2 (2020-05-20)
- better typedoc (fb31286)
3.5.1 (2020-05-20)
- typenames too long for typedoc (13e2d49)
3.5.0 (2020-05-20)
- sass: properly call custom resolvers (002366f)
- sourcemap: broken single line URL comments extraction (fd8ebf9)
3.4.3 (2020-05-17)
- code splitting: potential over-extraction (0b94909)
3.4.2 (2020-05-17)
- correct filename for single file /w
preserveModules
(837f9ed)
3.4.1 (2020-05-17)
- correct multi-file detection (d92d6da)
3.4.0 (2020-05-16)
- code splitting rework /w
preserveModules
support (8f44a7a)
3.3.4 (2020-05-15)
- less: less code (2717427)
3.3.3 (2020-05-14)
- multi-entry: correct and consistent order of single extracted file (553ca85)
- do not depend on directory structure for hashing (18c3022)
- uniform sass error message (49655a4)
3.3.2 (2020-05-13)
onExtract
func check and desc (4bfaac5)
3.3.1 (2020-05-13)
onExtract
option fix (65d74cf)
3.3.0 (2020-05-12)
- minimize exports in extract mode as well (ab919d7)
- multi entry support (840996c)
3.2.5 (2020-05-11)
- loaders: run
sourcemap
loader first (b651be3)
- simpler error handling (438d5b1)
3.2.4 (2020-05-10)
- sourcemaps: hashing and fixes for inlining in
extract
mode (c2bb12d) - better match Rollup's hashing method (1825045)
3.2.3 (2020-05-09)
3.2.2 (2020-05-09)
- sass: do not modify non-module url (fd022c6)
3.2.1 (2020-05-09)
- respect
output.file
for main CSS chunk (19eb9d7)
3.2.0 (2020-05-08)
- import: resolve extensions (9005ab8)
3.1.0 (2020-05-07)
- injector: external @babel/runtime (129aff5)
- modules: customizable
autoModules
(c3298de)
3.0.6 (2020-05-07)
- sourcemap: more reliable detection (a419361)
3.0.5 (2020-05-06)
- misc fixes (a4d3924)
3.0.4 (2020-05-05)
- readme: clarification (6f5b995)
3.0.3 (2020-05-05)
- url handler: working default
assetDir
(7187a27)
3.0.2 (2020-05-05)
- hashed url handling (5735a01)
3.0.1 (2020-05-05)
- normalize assetFileNames dir (f551a76)
3.0.0 (2020-05-05)
- v3 (c0a7daa)
- Some breaking changes occured:
- output.assetFileNames is now respected for both CSS files and assets from CSS
extract
's path now should be relative to output dir/output file's basedir, but not outside of itextract
's path no longer passed to PostCSS asto
, added dedicatedto
option instead- Removed
hash
option from url handler (now handled by Rollup's assetFileName) assetDir
option for url handler no longer affects resulting URL- signature changes for
onExtract
As always, please consult documentation and API Reference for details
2.2.4 (2020-05-04)
- missing fs-extra (4173a2a)
2.2.3 (2020-05-04)
- do not bundle mime-types (e444f04)
2.2.2 (2020-05-04)
- styles-url: clarify which url is unresolved (aefc263)
2.2.1 (2020-05-04)
- skip parsing of invalid sourcemaps (a96d01f)
2.2.0 (2020-05-03)
- injector: one less polyfill needed for ie8 (97796d8)
2.1.1 (2020-05-03)
- injector: pass selector instead of element as container (63bc959)
2.1.0 (2020-05-02)
- extended browser support (>=ie9, or >=ie8 with polyfills) (d849278)
2.0.5 (2020-05-02)
- revert removal (8def44e)
2.0.4 (2020-05-02)
- remove from sourcemap (b1c32e8)
2.0.3 (2020-05-01)
2.0.2 (2020-05-01)
- avoid postcss warning about no plugins (dbd72b7)
2.0.1 (2020-05-01)
- remove puppeteer (13bf4e8)
2.0.0 (2020-05-01)
- styles: v2 (21d2c9d)
- styles: A lot of API and behavior changes, please consult README and API Reference
1.5.2 (2020-04-06)
- better lf placement for output (663c184)
1.5.1 (2020-04-06)
- test and warning for already processed files (19fd942)
1.5.0 (2020-04-06)
- allow multiple instances of the plugin (aa0d4d1)
1.4.0 (2020-04-04)
- dir in css modules class names (94d10b2)
1.3.15 (2020-03-30)
- p-queue: proper default size (156ebff)
1.3.14 (2020-03-30)
- global p-queue for all loaders (ccac951)
1.3.13 (2020-03-29)
- fix production build, also speed up builds (b5b2e4f)
1.3.12 (2020-03-29)
- respect NODE_ENV (7a600c3)
1.3.11 (2020-03-29)
- bundle minification (369279a)
1.3.10 (2020-03-27)
- proper declaration file (0b5502b)
1.3.9 (2020-03-24)
- less: add plugins to less loader options type (8b502ef)
1.3.8 (2020-03-24)
- runtime: less operations (7375fe7)
1.3.7 (2020-03-21)
- postcss: less allocations (c9ac3f5)
1.3.6 (2020-03-20)
- less: use provided less in importer (66f0fce)
1.3.5 (2020-03-20)
- types: fix less typings (c129dec)
1.3.4 (2020-03-20)
- less: less allocations in importer (bf3710a)
1.3.3 (2020-03-20)
- less: remove less from bundle (9dafe0a)
1.3.2 (2020-03-20)
- less: fileManager inheritance (aba12a4)
1.3.1 (2020-03-20)
- less: fix importer (7900186)
1.2.6 (2020-03-19)
- relace import-cwd with resolve (dd4310e)
1.2.5 (2020-03-18)
- respect rollup's sourcemap (cc6ad34)
1.2.4 (2020-03-18)
- deps: more precise pkg versions (403158c)
1.2.3 (2020-03-18)
- path-utils: fix relativePath (e22ca71)
1.2.2 (2020-03-18)
- extract: allow paths relative to cwd (bdfc266)
- path: unneded normalization (df03c59)
1.2.1 (2020-03-17)
- options:
use
type (41884fb)
1.2.0 (2020-03-17)
- styles: postcss plugins without require (7db718f)
1.1.11 (2020-03-16)
- readme: tagline wording (0a55020)
1.1.10 (2020-03-16)
- readme: fix more links (c4e6690)
1.1.9 (2020-03-16)
- readme: fix links (208c254)
1.1.8 (2020-03-15)
1.1.7 (2020-03-15)
- project: refactoring and optimizations (d3405aa)
1.1.6 (2020-03-15)
- build: add dependabot and dependency badge (761e3ed)
1.1.5 (2020-03-14)
- ci: do not release twice (fc719f2)
1.1.4 (2020-03-14)
- node: wrong supported version of Node.js (3fb9f80)
1.1.3 (2020-03-14)
- runtime: working singleTag option (5d6a5c8)
1.1.2 (2020-03-13)
- styles: do not call path.join twice (272bb8b)
1.1.1 (2020-03-13)
- styles: clean dist (511ea8d)
1.1.0 (2020-03-13)
- styles: fix CSS injector (f4ccef4)
- styles: add singleTag option for CSS injection (b7e4ca8)
- styles: small CSS injector optimization (fbdd413)