mirror of
https://github.com/movie-web/movie-web.git
synced 2025-01-13 01:49:08 +01:00
use spaces as indents, damn you vsc settings
This commit is contained in:
parent
855ed60e37
commit
e86a9c2698
@ -5,12 +5,12 @@ import { VitePWA } from "vite-plugin-pwa";
|
||||
import checker from "vite-plugin-checker";
|
||||
import path from "path";
|
||||
import { handlebars } from "./plugins/handlebars";
|
||||
import { loadEnv } from "vite"
|
||||
import { loadEnv } from "vite";
|
||||
|
||||
export default defineConfig(({ mode }) => {
|
||||
const env = loadEnv(mode, process.cwd())
|
||||
const env = loadEnv(mode, process.cwd());
|
||||
return {
|
||||
plugins:[
|
||||
plugins: [
|
||||
handlebars({
|
||||
vars: {
|
||||
opensearch: env.VITE_OPENSEARCH_ENABLED ? '<link rel="search" type="application/opensearchdescription+xml" title="movie-web" href="src/assets/opensearch.xml">' : "",
|
||||
|
Loading…
x
Reference in New Issue
Block a user