@@ -558,8 +558,8 @@ npm i json-editor-vue
558558
559559export default {
560560 build: {
561- // Vite 4 (Rollup 3) uses ES2020 as compiler target by default
562- // Therefore Vite-4-built outputs should be transpiled in webpack 4
561+ // Vite ≥ 4 (Rollup ≥ 3) uses ES2020 as compiler target by default
562+ // Therefore Vite-≥ 4-built outputs should be transpiled in webpack 4
563563 transpile: [' json-editor-vue' ],
564564 extend(config ) {
565565 // Getting webpack to recognize the `.mjs` file
@@ -602,8 +602,8 @@ const value = ref()
602602export default {
603603 plugins: [' ~/plugins/JsonEditorVue.client' ],
604604 build: {
605- // Vite 4 (Rollup 3) uses ES2020 as compiler target by default
606- // Therefore Vite-4-built outputs should be transpiled in webpack 4
605+ // Vite ≥ 4 (Rollup ≥ 3) uses ES2020 as compiler target by default
606+ // Therefore Vite-≥ 4-built outputs should be transpiled in webpack 4
607607 transpile: [' json-editor-vue' ],
608608 extend(config ) {
609609 // Getting webpack to recognize the `.mjs` file
@@ -660,8 +660,8 @@ npm i json-editor-vue @vue/composition-api
660660
661661export default {
662662 build: {
663- // Vite 4 (Rollup 3) uses ES2020 as compiler target by default
664- // Therefore Vite-4-built outputs should be transpiled in webpack 4
663+ // Vite ≥ 4 (Rollup ≥ 3) uses ES2020 as compiler target by default
664+ // Therefore Vite-≥ 4-built outputs should be transpiled in webpack 4
665665 transpile: [' json-editor-vue' ],
666666 extend(config ) {
667667 // Getting webpack to recognize the `.mjs` file
@@ -712,8 +712,8 @@ export default {
712712export default {
713713 plugins: [' ~/plugins/JsonEditorVue.client' ],
714714 build: {
715- // Vite 4 (Rollup 3) uses ES2020 as compiler target by default
716- // Therefore Vite-4-built outputs should be transpiled in webpack 4
715+ // Vite ≥ 4 (Rollup ≥ 3) uses ES2020 as compiler target by default
716+ // Therefore Vite-≥ 4-built outputs should be transpiled in webpack 4
717717 transpile: [' json-editor-vue' ],
718718 extend(config ) {
719719 // Getting webpack to recognize the `.mjs` file
@@ -783,8 +783,8 @@ Ready to use right out of the box.
783783// vue.config.js
784784
785785module .exports = {
786- // Vite 4 (Rollup 3) uses ES2020 as compiler target by default
787- // Therefore Vite-4-built outputs should be transpiled in webpack 4
786+ // Vite ≥ 4 (Rollup ≥ 3) uses ES2020 as compiler target by default
787+ // Therefore Vite-≥ 4-built outputs should be transpiled in webpack 4
788788 transpileDependencies: [' json-editor-vue' ],
789789}
790790```
@@ -795,8 +795,8 @@ module.exports = {
795795// vue.config.js
796796
797797module .exports = {
798- // Vite 4 (Rollup 3) uses ES2020 as compiler target by default
799- // Therefore Vite-4-built outputs should be transpiled in webpack 4
798+ // Vite ≥ 4 (Rollup ≥ 3) uses ES2020 as compiler target by default
799+ // Therefore Vite-≥ 4-built outputs should be transpiled in webpack 4
800800 transpileDependencies: [' json-editor-vue' ],
801801 configureWebpack: {
802802 module: {
@@ -836,8 +836,8 @@ module.exports = {
836836// vue.config.js
837837
838838module .exports = {
839- // Vite 4 (Rollup 3) uses ES2020 as compiler target by default
840- // Therefore Vite-4-built outputs should be transpiled in webpack 4
839+ // Vite ≥ 4 (Rollup ≥ 3) uses ES2020 as compiler target by default
840+ // Therefore Vite-≥ 4-built outputs should be transpiled in webpack 4
841841 transpileDependencies: [' json-editor-vue' ],
842842 chainWebpack (config ) {
843843 // Getting webpack to recognize the `.mjs` file
0 commit comments