This repository has been archived on 2025-12-24. You can view files and clone it, but cannot push or open issues or pull requests.
site-template/packages/imagetoolsNew/astroViteConfigs.js
2025-03-07 14:59:06 +01:00

187 lines
4.4 KiB
JavaScript

export default {
"environment": "build",
"isSsrBuild": false,
"projectBase": "",
"publicDir": "C:\\Users\\zx\\Desktop\\polymech\\polymech-site\\public\\",
"rootDir": "C:\\Users\\zx\\Desktop\\polymech\\polymech-site\\",
"config": {
"root": "file:///C:/Users/zx/Desktop/polymech/polymech-site/",
"srcDir": "file:///C:/Users/zx/Desktop/polymech/polymech-site/src/",
"publicDir": "file:///C:/Users/zx/Desktop/polymech/polymech-site/public/",
"outDir": "file:///C:/Users/zx/Desktop/polymech/polymech-site/dist/",
"cacheDir": "file:///C:/Users/zx/Desktop/polymech/polymech-site/node_modules/.astro/",
"site": "https://polymech.io",
"compressHTML": true,
"base": "/",
"trailingSlash": "ignore",
"output": "static",
"scopedStyleStrategy": "attribute",
"integrations": [
{
"name": "@astrojs/react",
"hooks": {}
},
{
"name": "imagetools",
"hooks": {}
},
{
"name": "astro-webmanifest",
"hooks": {}
}
],
"build": {
"format": "directory",
"client": "file:///C:/Users/zx/Desktop/polymech/polymech-site/dist/client/",
"server": "file:///C:/Users/zx/Desktop/polymech/polymech-site/dist/server/",
"assets": "_astro",
"serverEntry": "entry.mjs",
"redirects": true,
"inlineStylesheets": "auto",
"concurrency": 1
},
"server": {
"open": false,
"host": false,
"port": 4321,
"streaming": true
},
"redirects": {},
"image": {
"endpoint": {
"route": "/_image"
},
"service": {
"entrypoint": "astro/assets/services/sharp",
"config": {}
},
"domains": [],
"remotePatterns": []
},
"devToolbar": {
"enabled": false
},
"markdown": {
"syntaxHighlight": "shiki",
"shikiConfig": {
"langs": [],
"langAlias": {},
"theme": "github-light-default",
"themes": {},
"wrap": false,
"transformers": []
},
"remarkPlugins": [],
"rehypePlugins": [],
"remarkRehype": {},
"gfm": true,
"smartypants": true
},
"vite": {
"plugins": [
[
{
"name": "@tailwindcss/vite:scan",
"enforce": "pre"
},
{
"name": "@tailwindcss/vite:generate:serve",
"apply": "serve",
"enforce": "pre"
},
{
"name": "@tailwindcss/vite:generate:build",
"apply": "build",
"enforce": "pre"
}
],
[
{
"name": "vite:react-babel",
"enforce": "pre"
},
{
"name": "vite:react-refresh",
"enforce": "pre"
}
],
{
"name": "@astrojs/react:opts"
}
],
"build": {
"target": "esnext",
"assetsDir": "./assets",
"modulePreload": {
"polyfill": false
},
"commonjsOptions": {
"esmExternals": true
}
},
"ssr": {
"external": [
"cacache",
"glob",
"xlsx",
"sharp",
"@polymech/kbot-d"
],
"noExternal": [
"@mui/material",
"@mui/base",
"@babel/runtime",
"use-immer",
"@material-tailwind/react"
]
},
"optimizeDeps": {
"include": [
"@astrojs/react/client.js"
],
"exclude": [
"@astrojs/react/server.js"
]
}
},
"i18n": {
"defaultLocale": "en",
"locales": [
"es",
"en",
"de",
"fr",
"it",
"ar",
"ja",
"zh"
],
"routing": {
"prefixDefaultLocale": false,
"redirectToDefaultLocale": true,
"fallbackType": "redirect"
}
},
"security": {
"checkOrigin": true
},
"env": {
"schema": {},
"validateSecrets": false
},
"experimental": {
"clientPrerender": false,
"contentIntellisense": false,
"responsiveImages": false,
"serializeConfig": false
},
"legacy": {
"collections": false
}
},
"mode": "production",
"outDir": "C:\\Users\\zx\\Desktop\\polymech\\polymech-site\\dist\\",
"assetsDir": "_astro",
"sourcemap": false,
"assetFileNames": "/_astro/[name]@[width].[hash][extname]"
}