front init

This commit is contained in:
Daniil
2026-01-12 23:06:40 +03:00
parent b1d3e89988
commit 749fda017c
27 changed files with 2322 additions and 148 deletions
+16 -1
View File
@@ -1,4 +1,19 @@
/** @type {import('next').NextConfig} */
const nextConfig = {}
import path from "path"
import { fileURLToPath } from "url"
const dirname = path.dirname(fileURLToPath(import.meta.url))
const stylesPath = path.join(dirname, "src/shared/styles")
console.log("dirname", dirname)
const nextConfig = {
sassOptions: {
includePaths: [stylesPath],
additionalData: `@use "${path.join(stylesPath, "_variables.scss")}";
@use "${path.join(stylesPath, "_breakpoints.scss")}";
@use "${path.join(stylesPath, "_typography.scss")}";
@use "${path.join(stylesPath, "_mixins.scss")}";`,
},
}
export default nextConfig