We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 127f0a5 commit 94347fcCopy full SHA for 94347fc
vite.config.ts
@@ -40,7 +40,9 @@ export default defineConfig((configEnv) => {
40
],
41
42
build: {
43
- target: "es2015",
+ // Official @vue/tsconfig compiles down to ES2020, let's do the same.
44
+ // See: https://github.com/vuejs/tsconfig/blob/main/tsconfig.dom.json
45
+ target: "es2020",
46
lib: {
47
name: "vue3-select-component",
48
entry: resolve("./src/index.ts"),
@@ -59,7 +61,7 @@ export default defineConfig((configEnv) => {
59
61
config.plugins!.push(vueDevtools());
60
62
}
63
- if (configEnv.mode.includes("playground")) {
64
+ if (configEnv.mode === "development:playground") {
65
config.root = resolve("./playground");
66
67
0 commit comments