You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: MIGRATING.md
+5-6
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,6 @@ are generated during scaffolding. For this reason, it is recommended that you re
5
5
6
6
This is straightforward if you're using `compute-js-static-publisher` out-of-the-box. Otherwise, read on.
7
7
8
-
# Migrating to v5
9
-
10
8
## KV Store
11
9
12
10
Starting with `v5.0.0`, this tool refers to the KV Store using its finalized product name, "KV Store". References in
@@ -151,12 +149,13 @@ Previous versions of `@fastly/compute-js-static-publish` used [Expressly](https:
151
149
assets. `v4` does away with this dependency and implements its own server in the `PublisherServer`
152
150
class.
153
151
154
-
When using `v4`, you can remove the dependency on Expressly by deleting the `@fastly/expressly` entry from `dependencies` or `devDependencies`, in your `package.json` file.
152
+
When using `v4`, you can remove the dependency on Expressly by deleting the `@fastly/expressly` entry from
153
+
`dependencies` or `devDependencies`, in your `package.json` file.
155
154
156
155
If your application depended on Expressly for things like middleware, you will need to make further
157
156
changes.
158
157
159
-
## The entry point `src/index.js`
158
+
###The entry point `src/index.js`
160
159
161
160
As of `v4`, the `src/index.js` entry point no longer uses Expressly, and looks like this:
0 commit comments