refactor: formatted with prettier --write

This commit is contained in:
2026-04-26 23:26:42 +03:30
parent 4caefd2d8d
commit 7edac60428
2 changed files with 9 additions and 9 deletions

View File

@@ -5,5 +5,5 @@
* creation: 21/4/2026 * creation: 21/4/2026
*/ */
import { VP } from "./core/VideoPlayer"; import { VP } from './core/VideoPlayer';
export default VP; export default VP;

View File

@@ -1,21 +1,21 @@
import { defineConfig } from "vite"; import { defineConfig } from 'vite';
export default defineConfig({ export default defineConfig({
build: { build: {
lib: { lib: {
entry: "src/index.ts", entry: 'src/index.ts',
name: "VP", name: 'VP',
fileName: (format) => `video-player.${format}.js`, fileName: (format) => `video-player.${format}.js`,
formats: ["es", "cjs", "umd"], formats: ['es', 'cjs', 'umd'],
}, },
minify: "esbuild", minify: 'esbuild',
outDir: "dist", outDir: 'dist',
emptyOutDir: false, emptyOutDir: false,
rollupOptions: { rollupOptions: {
external: ["hls.js"], external: ['hls.js'],
output: { output: {
globals: { globals: {
"hls.js": "Hls", 'hls.js': 'Hls',
}, },
}, },
}, },