Skip to content

Commit 7dcd9e0

Browse files
committed
turbopack
1 parent 616e2c1 commit 7dcd9e0

File tree

4 files changed

+1
-37
lines changed

4 files changed

+1
-37
lines changed

Containerfile

Lines changed: 0 additions & 24 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,3 @@ To build and start in prod mode, use:
5858

5959
> [!NOTE]
6060
> Images will not work properly here as a basePath has not been injected (as per the CI actions)
61-
62-
#### Container approach
63-
64-
To run dev mode in containerd instead, run `nerdctl compose -f compose.yaml up`. This will mount your current directory as a volume in the container which means any changes will make nextjs re-compile pages. This also means that anything in the `dotenv` files are picked up, including the PVWS URL.

next.config.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
import { NextConfig } from "next";
22

33
const nextConfig: NextConfig = {
4-
webpack(config, { dev }) {
5-
if (dev) {
6-
config.watchOptions = {
7-
poll: true,
8-
};
9-
}
10-
return config;
11-
},
124
reactStrictMode: true,
135
output: "export",
146
images: {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"author": "ISIS Neutron and Muon Source - Experiment Controls",
66
"description": "The web dashboard for instruments at the ISIS Neutron and Muon Source",
77
"scripts": {
8-
"dev": "next dev",
8+
"dev": "next dev --turbo",
99
"build": "next build",
1010
"lint": "eslint ./",
1111
"test": "jest",

0 commit comments

Comments
 (0)