2.0.1 • Published 5 months ago

ember-vite-hmr v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

ember-vite-hmr

Ember Vite Hmr plugin.

this can hot reload

  • helpers
  • modifiers
  • components + templates, fcct components and its deps
  • routes/controllers/route-templates

this tries to keep the state of properties in components and controller

it cannot hot reload local properties that turn out to be helpers/modifiers/components.

Installation

ember install ember-vite-hmr

Usage

update your vite.config.mjs with

import { hmr } from 'ember-vite-hmr';

plugins: [hmr()];

update you babel.config.cjs

const { hotAstProcessor } = require('ember-vite-hmr/lib/babel-plugin');
plugins: [['ember-vite-hmr/lib/babel-plugin'], ...other];

and for 'babel-plugin-ember-template-compilation'

transforms: [...templateCompatSupport(), hotAstProcessor.transform],

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

2.0.1

5 months ago

2.0.0

5 months ago

1.8.2

8 months ago

1.8.3

8 months ago

1.8.1

9 months ago

1.5.5

10 months ago

1.5.4

10 months ago

1.8.0

9 months ago

1.5.3

10 months ago

1.7.0

9 months ago

1.5.2

10 months ago

1.6.0

10 months ago

1.5.1

10 months ago

1.5.0

10 months ago

1.4.15

10 months ago

1.4.14

10 months ago

1.4.17

10 months ago

1.4.16

10 months ago

1.4.18

10 months ago

1.4.11

12 months ago

1.4.13

12 months ago

1.4.12

12 months ago

1.4.9

1 year ago

1.4.10

1 year ago

1.4.8

1 year ago

1.4.6

1 year ago

1.4.5

1 year ago

1.4.7

1 year ago

1.4.4

1 year ago

1.4.3

1 year ago

1.4.2

1 year ago

1.4.1

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago

1.4.0

1 year ago

1.3.0

1 year ago

0.6.9

1 year ago

0.6.8

1 year ago

0.6.5

1 year ago

0.6.4

1 year ago

0.6.2

1 year ago

0.6.1

1 year ago

0.6.0

1 year ago

0.5.0

1 year ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago