diff --git a/src/frameworks/main.js b/src/frameworks/main.js index f625cf7c..1ad8870d 100644 --- a/src/frameworks/main.js +++ b/src/frameworks/main.js @@ -41,6 +41,7 @@ const FRAMEWORKS = [ require('./parcel.json'), require('./grunt.json'), require('./gulp.json'), + require('./vite.json'), ] /* eslint-enable node/global-require,import/order,import/max-dependencies */ diff --git a/src/frameworks/vite.json b/src/frameworks/vite.json new file mode 100644 index 00000000..d466a0b0 --- /dev/null +++ b/src/frameworks/vite.json @@ -0,0 +1,21 @@ +{ + "id": "vite", + "name": "Vite", + "category": "build_tool", + "detect": { + "npmDependencies": ["vite"], + "excludedNpmDependencies": [], + "configFiles": [] + }, + "dev": { + "command": "vite", + "port": 3000, + "pollingStrategies": [{ "name": "TCP" }, { "name": "HTTP" }] + }, + "build": { + "command": "vite build", + "directory": "dist" + }, + "env": {}, + "plugins": [] +}