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

15 lines
375 B
JavaScript
Raw Permalink Normal View History

2019-08-11 18:48:02 +00:00
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 }
})