Add sass
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
|||||||
.idea
|
.idea
|
||||||
.DS_Store
|
.DS_Store
|
||||||
node_modules
|
node_modules
|
||||||
|
yarn-error.log
|
3
next.config.js
Normal file
3
next.config.js
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
const withSass = require('@zeit/next-sass');
|
||||||
|
|
||||||
|
module.exports = withSass({});
|
@ -9,7 +9,9 @@
|
|||||||
"start": "next start"
|
"start": "next start"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@zeit/next-sass": "^1.0.1",
|
||||||
"next": "^9.0.4",
|
"next": "^9.0.4",
|
||||||
|
"node-sass": "^4.12.0",
|
||||||
"react": "^16.9.0",
|
"react": "^16.9.0",
|
||||||
"react-dom": "^16.9.0"
|
"react-dom": "^16.9.0"
|
||||||
}
|
}
|
||||||
|
5
postcss.config.js
Normal file
5
postcss.config.js
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
module.exports = {
|
||||||
|
plugins: {
|
||||||
|
'postcss-css-variables': {},
|
||||||
|
},
|
||||||
|
};
|
Reference in New Issue
Block a user