Releases: aMarCruz/rollup-plugin-jscc
Releases · aMarCruz/rollup-plugin-jscc
v2.0.0 for Rollup v2
[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
mapContentoption - Added
sourcemaptest 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
[1.0.0] - 2018-11-23
Added
- Added TypeScript v3 definitions.
- Test and badges for Code Climate and Codecov.
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.
RegExandDatevalues now outputs its literal content in replacements.- Objects containing
NaNnow outputsNaNin replacements. Infiniteand-Infinityin JSON objects are replaced withNumber.MAX_VALUEandNumber.MIN_VALUE, respectively.
v0.3.3
v0.3.2
v0.2.2
- 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
- New predefined
_VERSIONvarname containsversionfrom thepackage.jsonfile in the current working dir or some level up. - Fix the test of predefined
_FILEvarname. - Fix an issue with the space between keywords and expressions allowing line endings.
v0.2.0 Getting Better
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.