vite-plugin-babel-dev
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "vite-plugin-babel-dev", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Runs babel during dev serve in Vite", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -54,3 +54,3 @@ # Vite Plugin Babel Dev | ||
Vite team didn't enabled it by default, because they wanted to keep dev environment as fast as possible. Because of that, we recommend to only include those Babel plugins you really need. Best option is via `babelConfig.plugin` field and disable usage of babel config file, ex.: | ||
Vite team didn't enabled it by default, because they wanted to keep dev environment as fast as possible. Because of that, we recommend to only include those Babel plugins you really need. You can use option `babelConfig.plugin` and disable usage of babel config file, ex.: | ||
@@ -67,2 +67,4 @@ ```js | ||
or just use `.babelrc.json` that will be also used during build process. | ||
__NOTE:__ Any babel plugins and presets need to be installed seperately and are not included with this package. | ||
@@ -69,0 +71,0 @@ |
7645
73