initial commit
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
// next.config.js
|
||||
const withStyles = require("@webdeb/next-styles");
|
||||
//const { nextI18NextRewrites } = require("next-i18next/rewrites");
|
||||
const nextTranslate = require("next-translate");
|
||||
|
||||
//acp
|
||||
// module.exports = {
|
||||
// poweredByHeader: false,
|
||||
// env: {
|
||||
// API_ROOT: "http://pel-beta-backend",
|
||||
// GRANT_TYPE: "password",
|
||||
// USERNAME: "api",
|
||||
// PASSWORD: "tJRq4o2ZBQ",
|
||||
// CLIENT_ID: "2d3df41b-9b59-4bbd-85a7-9314125c1689",
|
||||
// CLIENT_SECRET: "85H8qdrEvKEzbW5",
|
||||
// },
|
||||
// ...nextTranslate(),
|
||||
// };
|
||||
|
||||
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 = {
|
||||
poweredByHeader: false,
|
||||
env:{
|
||||
// GRANT_TYPE : 'password',
|
||||
// USERNAME : 'api',
|
||||
// API_ROOT : "https://api.dev.prevent.internal.rehab",
|
||||
// PASSWORD : 'B69eQwv7rzPBNcA',
|
||||
// CLIENT_ID : 'fa1f0ef2-f10f-462e-98a5-843359db6066',
|
||||
// CLIENT_SECRET : 'B69eQwv7rzPBNcA',
|
||||
},
|
||||
...nextTranslate(),
|
||||
};
|
||||
Reference in New Issue
Block a user