cleaned ununsed dependancies and packages
This commit is contained in:
+23
-15
@@ -1,22 +1,22 @@
|
||||
// next.config.js
|
||||
const withStyles = require("@webdeb/next-styles");
|
||||
//const withStyles = require("@webdeb/next-styles");
|
||||
//const { nextI18NextRewrites } = require("next-i18next/rewrites");
|
||||
const nextTranslate = require("next-translate");
|
||||
|
||||
module.exports = withStyles({
|
||||
sass: true, // use .scss files
|
||||
modules: true, // style.(m|module).css & style.(m|module).scss for module files
|
||||
sassLoaderOptions: {
|
||||
sassOptions: {
|
||||
includePaths: [
|
||||
"/styles/sass",
|
||||
"node_modules/govuk-frontend/govuk/all",
|
||||
"/styles/sass/patterns",
|
||||
"/styles/sass/prevent-training",
|
||||
], // @import 'variables'; # loads (src/styles/varialbes.scss), you got it..
|
||||
},
|
||||
},
|
||||
});
|
||||
// module.exports = withStyles({
|
||||
// sass: true, // use .scss files
|
||||
// modules: true, // style.(m|module).css & style.(m|module).scss for module files
|
||||
// sassLoaderOptions: {
|
||||
// sassOptions: {
|
||||
// includePaths: [
|
||||
// "/styles/sass",
|
||||
// "node_modules/govuk-frontend/govuk/all",
|
||||
// "/styles/sass/patterns",
|
||||
// "/styles/sass/welshgov",
|
||||
// ], // @import 'variables'; # loads (src/styles/varialbes.scss), you got it..
|
||||
// },
|
||||
// },
|
||||
// });
|
||||
|
||||
const securityHeaders = [
|
||||
{
|
||||
@@ -54,6 +54,14 @@ const securityHeaders = [
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
sassOptions: {
|
||||
includePaths: [
|
||||
"/styles/sass",
|
||||
"node_modules/govuk-frontend/govuk/all",
|
||||
"/styles/sass/patterns",
|
||||
"/styles/sass/welshgov",
|
||||
], // @import 'variables'; # loads (src/styles/varialbes.scss), you got it..
|
||||
},
|
||||
async headers() {
|
||||
return [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user