Skip to content

Commit 53d83e4

Browse files
committed
chore: regenerate playground projects
1 parent 4d48af8 commit 53d83e4

File tree

33 files changed

+176
-16
lines changed

33 files changed

+176
-16
lines changed

playground/default/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"vue": "^2.6.14"
1212
},
1313
"devDependencies": {
14+
"@vitejs/plugin-legacy": "^1.6.3",
1415
"@vue/runtime-dom": "^3.2.22",
1516
"unplugin-vue2-script-setup": "^0.7.1",
1617
"vite": "^2.6.14",

playground/default/vite.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { fileURLToPath } from 'url'
22

33
import { defineConfig } from 'vite'
4+
import legacy from '@vitejs/plugin-legacy'
45
import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
56
import scriptSetup from 'unplugin-vue2-script-setup/vite'
67

@@ -10,7 +11,11 @@ export default defineConfig({
1011
vue2({
1112
jsx: true
1213
}),
13-
scriptSetup()
14+
scriptSetup(),
15+
legacy({
16+
targets: ['ie >= 11'],
17+
additionalLegacyPolyfills: ['regenerator-runtime/runtime']
18+
})
1419
],
1520
resolve: {
1621
alias: {

playground/pinia-with-tests/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"devDependencies": {
1919
"@cypress/vite-dev-server": "^2.2.1",
2020
"@cypress/vue": "^2.2.4",
21+
"@vitejs/plugin-legacy": "^1.6.3",
2122
"@vue/runtime-dom": "^3.2.22",
2223
"cypress": "^9.1.0",
2324
"start-server-and-test": "^1.14.0",

playground/pinia-with-tests/vite.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { fileURLToPath } from 'url'
22

33
import { defineConfig } from 'vite'
4+
import legacy from '@vitejs/plugin-legacy'
45
import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
56
import scriptSetup from 'unplugin-vue2-script-setup/vite'
67

@@ -10,7 +11,11 @@ export default defineConfig({
1011
vue2({
1112
jsx: true
1213
}),
13-
scriptSetup()
14+
scriptSetup(),
15+
legacy({
16+
targets: ['ie >= 11'],
17+
additionalLegacyPolyfills: ['regenerator-runtime/runtime']
18+
})
1419
],
1520
resolve: {
1621
alias: {

playground/pinia/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"vue": "^2.6.14"
1313
},
1414
"devDependencies": {
15+
"@vitejs/plugin-legacy": "^1.6.3",
1516
"@vue/runtime-dom": "^3.2.22",
1617
"unplugin-vue2-script-setup": "^0.7.1",
1718
"vite": "^2.6.14",

playground/pinia/vite.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { fileURLToPath } from 'url'
22

33
import { defineConfig } from 'vite'
4+
import legacy from '@vitejs/plugin-legacy'
45
import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
56
import scriptSetup from 'unplugin-vue2-script-setup/vite'
67

@@ -10,7 +11,11 @@ export default defineConfig({
1011
vue2({
1112
jsx: true
1213
}),
13-
scriptSetup()
14+
scriptSetup(),
15+
legacy({
16+
targets: ['ie >= 11'],
17+
additionalLegacyPolyfills: ['regenerator-runtime/runtime']
18+
})
1419
],
1520
resolve: {
1621
alias: {

playground/router-pinia-with-tests/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"devDependencies": {
2020
"@cypress/vite-dev-server": "^2.2.1",
2121
"@cypress/vue": "^2.2.4",
22+
"@vitejs/plugin-legacy": "^1.6.3",
2223
"@vue/runtime-dom": "^3.2.22",
2324
"cypress": "^9.1.0",
2425
"start-server-and-test": "^1.14.0",

playground/router-pinia-with-tests/vite.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { fileURLToPath } from 'url'
22

33
import { defineConfig } from 'vite'
4+
import legacy from '@vitejs/plugin-legacy'
45
import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
56
import scriptSetup from 'unplugin-vue2-script-setup/vite'
67

@@ -10,7 +11,11 @@ export default defineConfig({
1011
vue2({
1112
jsx: true
1213
}),
13-
scriptSetup()
14+
scriptSetup(),
15+
legacy({
16+
targets: ['ie >= 11'],
17+
additionalLegacyPolyfills: ['regenerator-runtime/runtime']
18+
})
1419
],
1520
resolve: {
1621
alias: {

playground/router-pinia/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"vue-router": "^3.5.3"
1414
},
1515
"devDependencies": {
16+
"@vitejs/plugin-legacy": "^1.6.3",
1617
"@vue/runtime-dom": "^3.2.22",
1718
"unplugin-vue2-script-setup": "^0.7.1",
1819
"vite": "^2.6.14",

playground/router-pinia/vite.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { fileURLToPath } from 'url'
22

33
import { defineConfig } from 'vite'
4+
import legacy from '@vitejs/plugin-legacy'
45
import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
56
import scriptSetup from 'unplugin-vue2-script-setup/vite'
67

@@ -10,7 +11,11 @@ export default defineConfig({
1011
vue2({
1112
jsx: true
1213
}),
13-
scriptSetup()
14+
scriptSetup(),
15+
legacy({
16+
targets: ['ie >= 11'],
17+
additionalLegacyPolyfills: ['regenerator-runtime/runtime']
18+
})
1419
],
1520
resolve: {
1621
alias: {

playground/router-with-tests/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"devDependencies": {
1919
"@cypress/vite-dev-server": "^2.2.1",
2020
"@cypress/vue": "^2.2.4",
21+
"@vitejs/plugin-legacy": "^1.6.3",
2122
"@vue/runtime-dom": "^3.2.22",
2223
"cypress": "^9.1.0",
2324
"start-server-and-test": "^1.14.0",

playground/router-with-tests/vite.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { fileURLToPath } from 'url'
22

33
import { defineConfig } from 'vite'
4+
import legacy from '@vitejs/plugin-legacy'
45
import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
56
import scriptSetup from 'unplugin-vue2-script-setup/vite'
67

@@ -10,7 +11,11 @@ export default defineConfig({
1011
vue2({
1112
jsx: true
1213
}),
13-
scriptSetup()
14+
scriptSetup(),
15+
legacy({
16+
targets: ['ie >= 11'],
17+
additionalLegacyPolyfills: ['regenerator-runtime/runtime']
18+
})
1419
],
1520
resolve: {
1621
alias: {

playground/router/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"vue-router": "^3.5.3"
1313
},
1414
"devDependencies": {
15+
"@vitejs/plugin-legacy": "^1.6.3",
1516
"@vue/runtime-dom": "^3.2.22",
1617
"unplugin-vue2-script-setup": "^0.7.1",
1718
"vite": "^2.6.14",

playground/router/vite.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { fileURLToPath } from 'url'
22

33
import { defineConfig } from 'vite'
4+
import legacy from '@vitejs/plugin-legacy'
45
import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
56
import scriptSetup from 'unplugin-vue2-script-setup/vite'
67

@@ -10,7 +11,11 @@ export default defineConfig({
1011
vue2({
1112
jsx: true
1213
}),
13-
scriptSetup()
14+
scriptSetup(),
15+
legacy({
16+
targets: ['ie >= 11'],
17+
additionalLegacyPolyfills: ['regenerator-runtime/runtime']
18+
})
1419
],
1520
resolve: {
1621
alias: {

playground/typescript-pinia-with-tests/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"@cypress/vite-dev-server": "^2.2.1",
2121
"@cypress/vue": "^2.2.4",
2222
"@types/node": "^16.11.10",
23+
"@vitejs/plugin-legacy": "^1.6.3",
2324
"@vue/runtime-dom": "^3.2.22",
2425
"cypress": "^9.1.0",
2526
"start-server-and-test": "^1.14.0",

playground/typescript-pinia-with-tests/vite.config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { fileURLToPath } from 'url'
22

33
import { defineConfig } from 'vite'
4+
import legacy from '@vitejs/plugin-legacy'
45
import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
56
import scriptSetup from 'unplugin-vue2-script-setup/vite'
67

@@ -10,7 +11,11 @@ export default defineConfig({
1011
vue2({
1112
jsx: true
1213
}),
13-
scriptSetup()
14+
scriptSetup(),
15+
legacy({
16+
targets: ['ie >= 11'],
17+
additionalLegacyPolyfills: ['regenerator-runtime/runtime']
18+
})
1419
],
1520
resolve: {
1621
alias: {

playground/typescript-pinia/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
},
1515
"devDependencies": {
1616
"@types/node": "^16.11.10",
17+
"@vitejs/plugin-legacy": "^1.6.3",
1718
"@vue/runtime-dom": "^3.2.22",
1819
"typescript": "~4.4.4",
1920
"unplugin-vue2-script-setup": "^0.7.1",

playground/typescript-pinia/vite.config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { fileURLToPath } from 'url'
22

33
import { defineConfig } from 'vite'
4+
import legacy from '@vitejs/plugin-legacy'
45
import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
56
import scriptSetup from 'unplugin-vue2-script-setup/vite'
67

@@ -10,7 +11,11 @@ export default defineConfig({
1011
vue2({
1112
jsx: true
1213
}),
13-
scriptSetup()
14+
scriptSetup(),
15+
legacy({
16+
targets: ['ie >= 11'],
17+
additionalLegacyPolyfills: ['regenerator-runtime/runtime']
18+
})
1419
],
1520
resolve: {
1621
alias: {

playground/typescript-router-pinia-with-tests/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"@cypress/vite-dev-server": "^2.2.1",
2222
"@cypress/vue": "^2.2.4",
2323
"@types/node": "^16.11.10",
24+
"@vitejs/plugin-legacy": "^1.6.3",
2425
"@vue/runtime-dom": "^3.2.22",
2526
"cypress": "^9.1.0",
2627
"start-server-and-test": "^1.14.0",

playground/typescript-router-pinia-with-tests/vite.config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { fileURLToPath } from 'url'
22

33
import { defineConfig } from 'vite'
4+
import legacy from '@vitejs/plugin-legacy'
45
import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
56
import scriptSetup from 'unplugin-vue2-script-setup/vite'
67

@@ -10,7 +11,11 @@ export default defineConfig({
1011
vue2({
1112
jsx: true
1213
}),
13-
scriptSetup()
14+
scriptSetup(),
15+
legacy({
16+
targets: ['ie >= 11'],
17+
additionalLegacyPolyfills: ['regenerator-runtime/runtime']
18+
})
1419
],
1520
resolve: {
1621
alias: {

playground/typescript-router-pinia/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
},
1616
"devDependencies": {
1717
"@types/node": "^16.11.10",
18+
"@vitejs/plugin-legacy": "^1.6.3",
1819
"@vue/runtime-dom": "^3.2.22",
1920
"typescript": "~4.4.4",
2021
"unplugin-vue2-script-setup": "^0.7.1",

playground/typescript-router-pinia/vite.config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { fileURLToPath } from 'url'
22

33
import { defineConfig } from 'vite'
4+
import legacy from '@vitejs/plugin-legacy'
45
import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
56
import scriptSetup from 'unplugin-vue2-script-setup/vite'
67

@@ -10,7 +11,11 @@ export default defineConfig({
1011
vue2({
1112
jsx: true
1213
}),
13-
scriptSetup()
14+
scriptSetup(),
15+
legacy({
16+
targets: ['ie >= 11'],
17+
additionalLegacyPolyfills: ['regenerator-runtime/runtime']
18+
})
1419
],
1520
resolve: {
1621
alias: {

playground/typescript-router-with-tests/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"@cypress/vite-dev-server": "^2.2.1",
2121
"@cypress/vue": "^2.2.4",
2222
"@types/node": "^16.11.10",
23+
"@vitejs/plugin-legacy": "^1.6.3",
2324
"@vue/runtime-dom": "^3.2.22",
2425
"cypress": "^9.1.0",
2526
"start-server-and-test": "^1.14.0",

playground/typescript-router-with-tests/vite.config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { fileURLToPath } from 'url'
22

33
import { defineConfig } from 'vite'
4+
import legacy from '@vitejs/plugin-legacy'
45
import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
56
import scriptSetup from 'unplugin-vue2-script-setup/vite'
67

@@ -10,7 +11,11 @@ export default defineConfig({
1011
vue2({
1112
jsx: true
1213
}),
13-
scriptSetup()
14+
scriptSetup(),
15+
legacy({
16+
targets: ['ie >= 11'],
17+
additionalLegacyPolyfills: ['regenerator-runtime/runtime']
18+
})
1419
],
1520
resolve: {
1621
alias: {

playground/typescript-router/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
},
1515
"devDependencies": {
1616
"@types/node": "^16.11.10",
17+
"@vitejs/plugin-legacy": "^1.6.3",
1718
"@vue/runtime-dom": "^3.2.22",
1819
"typescript": "~4.4.4",
1920
"unplugin-vue2-script-setup": "^0.7.1",

playground/typescript-router/vite.config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { fileURLToPath } from 'url'
22

33
import { defineConfig } from 'vite'
4+
import legacy from '@vitejs/plugin-legacy'
45
import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
56
import scriptSetup from 'unplugin-vue2-script-setup/vite'
67

@@ -10,7 +11,11 @@ export default defineConfig({
1011
vue2({
1112
jsx: true
1213
}),
13-
scriptSetup()
14+
scriptSetup(),
15+
legacy({
16+
targets: ['ie >= 11'],
17+
additionalLegacyPolyfills: ['regenerator-runtime/runtime']
18+
})
1419
],
1520
resolve: {
1621
alias: {

playground/typescript-with-tests/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"@cypress/vite-dev-server": "^2.2.1",
2020
"@cypress/vue": "^2.2.4",
2121
"@types/node": "^16.11.10",
22+
"@vitejs/plugin-legacy": "^1.6.3",
2223
"@vue/runtime-dom": "^3.2.22",
2324
"cypress": "^9.1.0",
2425
"start-server-and-test": "^1.14.0",

0 commit comments

Comments
 (0)