2021-09-12 19:37:51 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
outputDir="../server/web/static"
|
|
|
|
|
|
|
|
mv $outputDir/index.*.js $outputDir/index.js
|
|
|
|
mv $outputDir/index.*.js.map $outputDir/index.js.map
|
|
|
|
sed -i -E "s/index.\w+.js/index.js/" $outputDir/index.html
|
2021-09-12 20:57:59 +01:00
|
|
|
sed -i -E "s/sourceMappingURL=index.\w+.js.map/sourceMappingURL=index.js.map/" $outputDir/index.js
|