-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvite.config.mts.timestamp-1732013363628-83f1f8c637e96.mjs
38 lines (38 loc) · 3.83 KB
/
vite.config.mts.timestamp-1732013363628-83f1f8c637e96.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// vite.config.mts
import { defineConfig } from "file:///Users/mishakrul/Desktop/projects/pet-registry/node_modules/vite/dist/node/index.js";
import * as path from "path";
import FullReload from "file:///Users/mishakrul/Desktop/projects/pet-registry/node_modules/vite-plugin-full-reload/dist/index.js";
import RubyPlugin from "file:///Users/mishakrul/Desktop/projects/pet-registry/node_modules/vite-plugin-ruby/dist/index.js";
import tailwindcss from "file:///Users/mishakrul/Desktop/projects/pet-registry/node_modules/tailwindcss/lib/index.js";
var __vite_injected_original_dirname = "/Users/mishakrul/Desktop/projects/pet-registry";
var vite_config_default = defineConfig({
css: {
postcss: {
plugins: [tailwindcss]
}
},
plugins: [
RubyPlugin(),
FullReload(["config/routes.rb", "app/views/**/*"], { delay: 250 })
],
resolve: {
alias: [
{
find: "@/components",
replacement: path.resolve(__vite_injected_original_dirname, "./app/src/components")
},
{
find: "@/stylesheets",
replacement: path.resolve(__vite_injected_original_dirname, "./app/src/stylesheets")
},
{
find: "@/entrypoints",
replacement: path.resolve(__vite_injected_original_dirname, "./app/javascript/entrypoints")
}
]
}
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcubXRzIl0sCiAgInNvdXJjZXNDb250ZW50IjogWyJjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZGlybmFtZSA9IFwiL1VzZXJzL21pc2hha3J1bC9EZXNrdG9wL3Byb2plY3RzL3BldC1yZWdpc3RyeVwiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlb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