File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 199
199
- evanwinter
200
200
- everdimension
201
201
- exegeteio
202
+ - ezekeal
202
203
- F3n67u
203
204
- FAL-coffee
204
205
- fayez-nazzal
Original file line number Diff line number Diff line change @@ -91,7 +91,16 @@ export default function App() {
91
91
92
92
## Build and Run
93
93
94
- First build the app for production:
94
+ First you will need to specify the type as ` module ` in ` package.json ` to satisfy esmodule requirements for ` remix-run ` and future versions of ` vite ` .
95
+
96
+ ``` jsonc filename=package.json lines=[2] nocopy
97
+ {
98
+ " type" : " module"
99
+ // ...
100
+ }
101
+ ```
102
+
103
+ Next build the app for production:
95
104
96
105
``` shellscript nonumber
97
106
npx remix vite:build
@@ -101,15 +110,6 @@ You should now see a `build` folder containing a `server` folder (the server ver
101
110
102
111
👉 ** Run the app with ` remix-serve ` **
103
112
104
- First you will need to specify the type in ` package.json ` as module so that ` remix-serve ` can run your app.
105
-
106
- ``` jsonc filename=package.json lines=[2] nocopy
107
- {
108
- " type" : " module"
109
- // ...
110
- }
111
- ```
112
-
113
113
Now you can run your app with ` remix-serve ` :
114
114
115
115
``` shellscript nonumber
You can’t perform that action at this time.
0 commit comments