We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be17c8f commit b13b8a1Copy full SHA for b13b8a1
browser/index.html
@@ -19,7 +19,7 @@
19
<script type="importmap">
20
{
21
"imports": {
22
- "@willwade/ppmpredictor": "../node_modules/@willwade/ppmpredictor/dist/ppmpredictor.esm.js"
+ "@willwade/ppmpredictor": "./vendor/ppmpredictor.esm.js"
23
}
24
25
</script>
browser/vendor/README.md
@@ -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