Skip to content

Releases: reworkcss/rework-npm

1.0.0

24 Jun 20:33
Compare
Choose a tag to compare

Warning: a number of breaking changes are included in this release

  • Dropped the dir option, always use directory from position.source in the AST (see #10). You should provide the source option when parsing the CSS to get the right import directory.
  • Search the alias option for aliased directories when importing (see #15)
  • Never apply the alias config for relative imports (e.g. @import "./file";)
  • Moved the repo to reworkcss/rework-npm

0.7.0

20 Jun 22:11
Compare
Choose a tag to compare

Changes

  • Updated to css version 2.0.0. This includes some breaking changes to the AST structure, only use with rework version >= 1.0.0.

Release 0.3.0

27 Dec 20:38
Compare
Choose a tag to compare
  • Accept an options object instead of the directory name. This is backwards compatible since the options value will be used as the directory name if it is a string.
  • Allow a root directory to be specified that all file names are relative to.

Release 0.2.0

27 Dec 16:56
Compare
Choose a tag to compare

Source map support!

Now you can see exactly which file a rule was defined in when debugging in a browser that supports CSS source maps!

Everything just works for source maps. Simply use .toString({ sourcemap: true }) on the rework object instead of .toString(). This generates source maps inline with the CSS. Note that you must use at least rework v0.20.

Release 0.0.2

09 Sep 18:32
Compare
Choose a tag to compare
  • Only import files once

v0.0.1

05 Sep 18:05
Compare
Choose a tag to compare

Initial release