Skip to content

Releases: pcattori/vite-env-only

v2.0.0

09 Jan 18:27
2a0d99f
Compare
Choose a tag to compare

2.0.0 (2024-01-09)

Documentation

BREAKING CHANGES

    • Rename macros (server$ -> serverOnly$, client$ -> clientOnly$)
  • Only eliminate identifiers that have become unreferenced as a result
    of macro replacement

v1.5.0

09 Jan 03:03
21e4a41
Compare
Choose a tag to compare

1.5.0 (2024-01-09)

Features

  • error when using namespace imports (fffa8c1)

v1.4.0

09 Jan 02:43
3656941
Compare
Choose a tag to compare

1.4.0 (2024-01-09)

Features

  • error when dynamically manipulating macros (9635aab)

v1.3.0

09 Jan 02:05
a652bb2
Compare
Choose a tag to compare

1.3.0 (2024-01-09)

Features

v1.2.0

09 Jan 01:01
8ace2b3
Compare
Choose a tag to compare

1.2.0 (2024-01-09)

Features

  • nice error when passing wrong number of args to macros (832df08)

v1.1.0

08 Jan 18:29
6fa1f68
Compare
Choose a tag to compare

1.1.0 (2024-01-08)

Features

  • unreplaced macros throw an error (c14f801)

v1.0.3

08 Jan 15:36
7bb3989
Compare
Choose a tag to compare

1.0.3 (2024-01-08)

Bug Fixes

v1.0.2

06 Jan 02:17
cfeed75
Compare
Choose a tag to compare

1.0.2 (2024-01-06)

Bug Fixes

  • esm/cjs interop for babel (75c811b)

v1.0.1

06 Jan 00:26
255147d
Compare
Choose a tag to compare

1.0.1 (2024-01-06)

Bug Fixes

  • include built pkg when publishing to npm (af76bec)

v1.0.0

06 Jan 00:07
33655bd
Compare
Choose a tag to compare

1.0.0 (2024-01-06)

Features

  • unwrap macro when env matches (2bdc7d0)