Skip to content

Commit b13b8a1

Browse files
committed
add in ppmpredictor - would usually usually webpack this but for this just adding it
1 parent be17c8f commit b13b8a1

File tree

3 files changed

+2426
-1
lines changed

3 files changed

+2426
-1
lines changed

browser/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<script type="importmap">
2020
{
2121
"imports": {
22-
"@willwade/ppmpredictor": "../node_modules/@willwade/ppmpredictor/dist/ppmpredictor.esm.js"
22+
"@willwade/ppmpredictor": "./vendor/ppmpredictor.esm.js"
2323
}
2424
}
2525
</script>

browser/vendor/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
This directory contains vendored browser assets that must be served in static deployments.
2+
3+
Current files:
4+
- `ppmpredictor.esm.js` copied from `node_modules/@willwade/ppmpredictor/dist/ppmpredictor.esm.js`
5+
6+
Update flow:
7+
1. Run `npm ci` in repo root.
8+
2. Copy the latest dist file into this directory.
9+
3. Commit both the vendored file and this README update (if version/source changes).

0 commit comments

Comments
 (0)