50 lines
4.2 KiB
JavaScript
50 lines
4.2 KiB
JavaScript
// vite.config.js
|
|
import vue from "file:///home/niels/Projects/traxxx-web/node_modules/@vitejs/plugin-vue/dist/index.mjs";
|
|
import vike from "file:///home/niels/Projects/traxxx-web/node_modules/vike/dist/esm/node/plugin/index.js";
|
|
import postCssGlobalData from "file:///home/niels/Projects/traxxx-web/node_modules/@csstools/postcss-global-data/dist/index.mjs";
|
|
import postCssNesting from "file:///home/niels/Projects/traxxx-web/node_modules/postcss-nesting/dist/index.mjs";
|
|
import postCssCustomMedia from "file:///home/niels/Projects/traxxx-web/node_modules/postcss-custom-media/dist/index.mjs";
|
|
import ViteYaml from "file:///home/niels/Projects/traxxx-web/node_modules/@modyfi/vite-plugin-yaml/dist/index.js";
|
|
var __vite_injected_original_dirname = "/home/niels/Projects/traxxx-web";
|
|
var vite_config_default = {
|
|
plugins: [
|
|
vue({
|
|
template: {
|
|
transformAssetUrls: {
|
|
base: null,
|
|
includeAbsolute: false
|
|
}
|
|
}
|
|
}),
|
|
vike({
|
|
redirects: {
|
|
"/": "/updates"
|
|
},
|
|
trailingSlash: true
|
|
// for some reason /tags breaks without this, ERR_TOO_MANY_REDIRECTS
|
|
}),
|
|
ViteYaml()
|
|
],
|
|
css: {
|
|
postcss: {
|
|
plugins: [
|
|
postCssGlobalData({
|
|
files: ["./assets/css/breakpoints.css"]
|
|
}),
|
|
postCssNesting(),
|
|
postCssCustomMedia()
|
|
]
|
|
}
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
"#": __vite_injected_original_dirname,
|
|
"#root": __vite_injected_original_dirname
|
|
}
|
|
}
|
|
};
|
|
export {
|
|
vite_config_default as default
|
|
};
|
|
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gX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