packages/excalidraw: refactor build for new dream2nix

This commit is contained in:
Max Headroom 2022-10-30 14:33:43 +01:00
parent 8bbbf86eb7
commit a6cb297c77

View file

@ -28,9 +28,7 @@ in
distRoot=$out/share/www
dist=$distRoot/excalidraw
mkdir -p $distRoot
mv $out/lib/node_modules/excalidraw/build $dist
chmod +w -R $out/lib
rm -rf $out/lib
mv $nodeModules/excalidraw/build $dist
find $dist -type f -name "*.map" -delete
'';