Remove the need to rename index files as we're intercepting missing files and not serving fixed filenames
This commit is contained in:
parent
612f96a9c5
commit
7f3c5f7c1b
2 changed files with 0 additions and 9 deletions
|
@ -5,7 +5,6 @@
|
|||
webapp/src/** {
|
||||
indir: webapp
|
||||
prep: npm run build
|
||||
prep: ./fix-index-hash.sh
|
||||
}
|
||||
|
||||
server/**/*.go server/web/static/** {
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
#!/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
|
||||
sed -i -E "s/sourceMappingURL=index.\w+.js.map/sourceMappingURL=index.js.map/" $outputDir/index.js
|
Loading…
Reference in a new issue