@@ -558,8 +558,8 @@ npm i json-editor-vue
558
558
559
559
export default {
560
560
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
563
563
transpile: [' json-editor-vue' ],
564
564
extend(config ) {
565
565
// Getting webpack to recognize the `.mjs` file
@@ -602,8 +602,8 @@ const value = ref()
602
602
export default {
603
603
plugins: [' ~/plugins/JsonEditorVue.client' ],
604
604
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
607
607
transpile: [' json-editor-vue' ],
608
608
extend(config ) {
609
609
// Getting webpack to recognize the `.mjs` file
@@ -660,8 +660,8 @@ npm i json-editor-vue @vue/composition-api
660
660
661
661
export default {
662
662
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
665
665
transpile: [' json-editor-vue' ],
666
666
extend(config ) {
667
667
// Getting webpack to recognize the `.mjs` file
@@ -712,8 +712,8 @@ export default {
712
712
export default {
713
713
plugins: [' ~/plugins/JsonEditorVue.client' ],
714
714
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
717
717
transpile: [' json-editor-vue' ],
718
718
extend(config ) {
719
719
// Getting webpack to recognize the `.mjs` file
@@ -783,8 +783,8 @@ Ready to use right out of the box.
783
783
// vue.config.js
784
784
785
785
module .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
788
788
transpileDependencies: [' json-editor-vue' ],
789
789
}
790
790
```
@@ -795,8 +795,8 @@ module.exports = {
795
795
// vue.config.js
796
796
797
797
module .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
800
800
transpileDependencies: [' json-editor-vue' ],
801
801
configureWebpack: {
802
802
module: {
@@ -836,8 +836,8 @@ module.exports = {
836
836
// vue.config.js
837
837
838
838
module .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
841
841
transpileDependencies: [' json-editor-vue' ],
842
842
chainWebpack (config ) {
843
843
// Getting webpack to recognize the `.mjs` file
0 commit comments