Skip to content

Commit

Permalink
Copy shared libraries to resources folder, too.
Browse files Browse the repository at this point in the history
These were missing, and would lead to missing js files on the client/browser.

Signed-off-by: Stefan Marr <git@stefan-marr.de>
  • Loading branch information
smarr committed Feb 18, 2024
1 parent b2d6de3 commit a026c17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"compile-uplot": "terser --module --ecma 2018 --compress --mangle -o ./resources/uPlot.esm.min.js -- node_modules/uplot/dist/uPlot.esm.js",
"compile": "tsc",
"postcompile": "npm run prep-static && npm run download-font",
"prep-static": "cp dist/src/frontend/*.js ./resources/",
"prep-static": "cp dist/src/frontend/*.js dist/src/shared/*.js ./resources/",
"download-font": "node dist/src/download.js https://github.com/googlefonts/roboto/releases/download/v2.136/roboto-hinted.zip tmp/roboto-hinted.zip && unzip -o -d dist tmp/roboto-hinted.zip",
"start": "node --enable-source-maps --experimental-json-modules ./dist/src/index.js",
"nodemon": "DEV=true nodemon --enable-source-maps --experimental-json-modules ./dist/src/index.js --watch ./dist/src --watch ./package.json --watch ./src --ext js,json,html",
Expand Down

0 comments on commit a026c17

Please sign in to comment.