format project files
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
module.exports = {
|
||||
siteUrl: process.env.NEXT_PUBLIC_SITE_URL || "https://sahkoinsinoorikilta.fi",
|
||||
generateRobotsTxt: true,
|
||||
exclude: ["/events/*", "/feed/*", "/signup/*", "/admin/*"]
|
||||
}
|
||||
exclude: ["/events/*", "/feed/*", "/signup/*", "/admin/*"],
|
||||
};
|
||||
|
||||
+1
-1
@@ -15,6 +15,6 @@ module.exports = withBundleAnalyzer({
|
||||
],
|
||||
},
|
||||
future: {
|
||||
webpack5: true
|
||||
webpack5: true,
|
||||
},
|
||||
});
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
version: '3.4'
|
||||
version: "3.4"
|
||||
|
||||
services:
|
||||
frontend:
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
version: '3.4'
|
||||
version: "3.4"
|
||||
|
||||
services:
|
||||
frontend:
|
||||
|
||||
@@ -4,9 +4,6 @@ import { getSiteRoot } from "./utils";
|
||||
fixture`404 page renders and functions correctly`.page(`${getSiteRoot()}/404`);
|
||||
|
||||
test("Page contains the text 404", async (t) => {
|
||||
/**
|
||||
* Test if there is a favicon element on the page
|
||||
*/
|
||||
const elem = Selector("#not-found");
|
||||
await t.expect(elem.textContent).contains("404");
|
||||
});
|
||||
|
||||
+8
-2
@@ -6,7 +6,10 @@
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"isolatedModules": true,
|
||||
"jsx": "preserve",
|
||||
"lib": ["dom", "esnext"],
|
||||
"lib": [
|
||||
"dom",
|
||||
"esnext"
|
||||
],
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"noEmit": true,
|
||||
@@ -19,7 +22,10 @@
|
||||
"sourceMap": true,
|
||||
"strict": false, // TODO: switch true
|
||||
"target": "esnext",
|
||||
"typeRoots": ["types", "node_modules/@types"],
|
||||
"typeRoots": [
|
||||
"types",
|
||||
"node_modules/@types"
|
||||
],
|
||||
"baseUrl": "./",
|
||||
"paths": {
|
||||
"@api/*": [
|
||||
|
||||
Reference in New Issue
Block a user