Skip to content

Releases: aMarCruz/rollup-plugin-jscc

v2.0.0 for Rollup v2

28 Aug 10:37
Compare
Choose a tag to compare

[2.0.0] - 2020-08-28

Added

  • PrettierX + TypeScript for formating
  • markdownlint and prettierx config files
  • VS Code settings for this project

Changed

  • Update dependencies (using rollup ^2.26) and adjust rollup config
  • Update ESLint config, now PrettierX is used for code formating
  • Update code format to comply with prettierx rules
  • Require Rollup v2 & NodeJS v10 or above
  • Update test (remove NodeJS v6, add v14)
  • Update license

Fixed

  • PR #5: fix source map support - Thanks to @billowz
    • Upgrade rollup to 1.0.0
    • Added mapContent option
    • Added sourcemap test case
    • Fix source path in the sourcemap
  • Fix #8: if entry point is named '.mjs' it does not works by @muayyad-alsadi

v1.0.0

23 Nov 23:22
Compare
Choose a tag to compare

[1.0.0] - 2018-11-23

Added

Changed

  • Only CommonJS version with dependency on jscc v1.1.0
  • The minimum supported version of node.js is 6
  • The predefined extensions were extended to include those of React and TypeScript.
  • RegEx and Date values now outputs its literal content in replacements.
  • Objects containing NaN now outputs NaN in replacements.
  • Infinite and -Infinity in JSON objects are replaced with Number.MAX_VALUE and Number.MIN_VALUE, respectively.

v0.3.3

24 Oct 13:44
Compare
Choose a tag to compare
  • Using jscc v0.3.3 that fixes bug in sourceMap generation.

v0.3.2

22 Oct 21:01
Compare
Choose a tag to compare
  • From this release, the version number will be in sync with jscc.
  • Updated devDependencies.

See the changes in the jscc repo.

v0.2.2

13 Oct 21:30
Compare
Choose a tag to compare
  • The staring sequence of HTML comments ('<!--') is included in the predefined prefixes.
  • jscc was moved to its own github repository and has 100% coverage.

v0.2.1 Adds _VERSION

24 Sep 17:58
Compare
Choose a tag to compare
  • New predefined _VERSION varname contains version from the package.json file in the current working dir or some level up.
  • Fix the test of predefined _FILE varname.
  • Fix an issue with the space between keywords and expressions allowing line endings.

v0.2.0 Getting Better

24 Sep 02:39
Compare
Choose a tag to compare

This is a complete re-write with breaking changes but more simple, with less options and more tests.

  • Options: values, prefixes, keepLines, include, exclude, extensions, sourceMap
  • Keywords: set, unset, if, elif, else, endif, ifset, ifnset, error

Now, varnames must match the regex /^_[0-9A-Z][_0-9A-Z]*$/, prefixed with '$' for replacement in the code.

Removal of comments no included, use rollup-plugin-cleanup instead.

v0.1.2

08 Sep 15:11
Compare
Choose a tag to compare

Last version with removal of regular comments.