This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
keksAccountGUI/node_modulesOLD/vue-cli-plugin-vuetify/util/presets.js
2019-08-11 20:48:02 +02:00

14 lines
375 B
JavaScript

const fs = require('fs')
const path = require('path')
const resolve = file => path.resolve(__dirname, file)
const PRESET_MAP = {
default: 'Default (recommended)',
prototype: 'Prototype (rapid development)'
}
module.exports = fs.readdirSync(resolve('../presets')).map(preset => {
const value = preset.split('.').shift()
return { name: PRESET_MAP[value], value }
})