{"size": 478, "ext": "js", "max_stars_repo_path": "core/app/vite.config.js", "max_stars_repo_name": "EmixMaxime/mx-home-security", "max_stars_repo_stars_event_min_datetime": "2021-04-29T19:28:59.000Z", "max_stars_repo_stars_event_max_datetime": "2021-04-29T21:20:32.000Z", "max_issues_repo_path": "core/app/vite.config.js", "max_issues_repo_name": "EmixMaxime/mx-home-security", "max_issues_repo_issues_event_min_datetime": "2020-06-26T19:51:24.000Z", "max_issues_repo_issues_event_max_datetime": "2021-03-28T09:35:55.000Z", "max_forks_repo_path": "core/app/vite.config.js", "max_forks_repo_name": "mxmaxime/mx-tech-house", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": 101, "max_forks_count": null, "avg_line_length": 20.7826086957, "max_line_length": 72, "alphanum_fraction": 0.5983263598}
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import * as path from "path";

const root = './assets'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue()],
  root,
  build: {
    outDir: '../public/assets',
    assetsDir: '',
    manifest: true,
    rollupOptions: {
      input: {
        'app.js': `./assets/entrypoints/app.js`,
        'motion-detected.js': `./assets/entrypoints/motion-detected.js`,
      }
    }
  }
})
