Skip to content

Commit fe6be47

Browse files
committed
Use ES module in autocomplete playground
1 parent f82e23d commit fe6be47

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"watchForFileChanges": true
2+
"watchForFileChanges": true,
3+
"pluginsFile": false
34
}

playgrounds/autocomplete/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
"version": "0.0.0",
44
"private": true,
55
"description": "Javascript playground for autocomplete",
6+
"type": "module",
67
"scripts": {
78
"predev": "node setup.cjs",
8-
"dev": "parcel serve index.html --open --port 7777",
9-
"build": "parcel build index.html",
9+
"dev": "vite --port 7777",
10+
"build": "vite build",
1011
"setup": "node setup.cjs",
1112
"lint": "eslint --ext .jsx,.js .",
1213
"lint:fix": "eslint --ext .jsx,.js --fix .",
@@ -29,8 +30,7 @@
2930
"@meilisearch/autocomplete-client": "*"
3031
},
3132
"devDependencies": {
32-
"@babel/core": "^7.13.1",
33-
"eslint-config-meilisearch": "*",
34-
"parcel": "^2.12.0"
33+
"vite": "^6.0.5",
34+
"eslint-config-meilisearch": "*"
3535
}
3636
}

0 commit comments

Comments
 (0)