Skip to content

v0.8.0

Compare
Choose a tag to compare
@thescientist13 thescientist13 released this 01 Apr 19:01
· 35 commits to master since this release

Overview

This release introduces a feature for renderToString to control how returned HTML is (or isn't wrapped).

Changelog

https://github.com/ProjectEvergreen/wcc/issues?q=label%3Av0.9.0

  1. opt out of top level wrapping entry tag name when using renderToString

Breaking Changes

None

Known Issues

N / A

Diff

$ git diff 0.7.0 0.8.0 --stat
 .eslintrc.cjs                                                  |   6 +-
 .ls-lint.yml                                                   |  20 +++++
 docs/pages/docs.md                                             |  15 +++-
 docs/pages/examples.md                                         |   8 +-
 docs/pages/index.md                                            |   2 +-
 package-lock.json                                              | 170 ++++++++++++++++++++++++++++++++++-
 package.json                                                   |   7 +-
 src/jsx-loader.js                                              |   8 +-
 src/wcc.js                                                     |   6 +-
 test-exp-loader.js                                             |  12 ++-
 test/cases/no-wrapping-entry-tag/no-wrapping-entry-tag.spec.js |  37 ++++++++
 test/cases/no-wrapping-entry-tag/src/no-wrap.js                |  27 ++++++
 12 files changed, 296 insertions(+), 22 deletions(-)