Buckets:
| const path = require("path"); | |
| const SassAlias = require("sass-alias"); | |
| /** | |
| * @param {import('next').NextConfig} nextConfig | |
| */ | |
| const sassPlugin = (nextConfig = {}) => { | |
| return Object.assign({}, nextConfig, { | |
| sassOptions: { | |
| importer: new SassAlias({ | |
| "@sass": path.join(__dirname, "../../../assets", "sass"), | |
| "@fontawesome": path.join( | |
| __dirname, | |
| "../../../../node_modules", | |
| "font-awesome", | |
| ), | |
| }).getImporter(), | |
| }, | |
| }); | |
| }; | |
| module.exports = sassPlugin; | |
Xet Storage Details
- Size:
- 530 Bytes
- Xet hash:
- 2044f2bb33ccace4055ec38f1e4868ae899b1f2b27fbf9444f776c49988ce8a5
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.