Skip to content

Commit

Permalink
feat: setting sass
Browse files Browse the repository at this point in the history
  • Loading branch information
saseungmin committed May 13, 2024
1 parent acfe0e4 commit 072c813
Show file tree
Hide file tree
Showing 19 changed files with 166 additions and 42 deletions.
94 changes: 77 additions & 17 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/fsevents-patch-19706e7e35-10.zip
Binary file not shown.
Binary file added .yarn/cache/fsevents-patch-6b67494872-10.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
2 changes: 1 addition & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Image from 'next/image';
import styles from './page.module.css';
import styles from './page.module.scss';

function Home() {
return (
Expand Down
5 changes: 5 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const path = require('path');

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
Expand All @@ -8,6 +10,9 @@ const nextConfig = {
experimental: {
typedRoutes: true,
},
sassOptions: {
includePaths: [path.join(__dirname, 'styles')],
},
};

module.exports = nextConfig;
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"react-test-renderer": "^18.3.1",
"sass": "^1.77.1",
"semantic-release": "^20.1.0",
"start-server-and-test": "^1.14.0",
"typescript": "^5.3.2"
Expand Down
Loading

0 comments on commit 072c813

Please sign in to comment.