mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 17:10:10 +00:00
site: remove reference to 404 & favicon
This commit is contained in:
parent
84d5bc8f67
commit
c35fdc2cbe
@ -1,18 +1,18 @@
|
|||||||
all:
|
all:
|
||||||
-mkdir -p out
|
-mkdir -p out
|
||||||
cp index.html 404.html favicon.ico out/
|
cp index.html out/
|
||||||
cp -r node_modules/remixicon/fonts/remixicon.css node_modules/remixicon/fonts/remixicon.woff2 out/
|
cp -r node_modules/remixicon/fonts/remixicon.css node_modules/remixicon/fonts/remixicon.woff2 out/
|
||||||
npx esbuild --bundle base.css --outfile=out/bundle.css --external:remixicon.css --minify
|
npx esbuild --bundle base.css --outfile=out/bundle.css --external:remixicon.css --minify
|
||||||
npx uncss index.html 404.html --stylesheets out/bundle.css > out/_bundle.css
|
npx uncss index.html --stylesheets out/bundle.css > out/_bundle.css
|
||||||
mv out/_bundle.css out/bundle.css
|
mv out/_bundle.css out/bundle.css
|
||||||
npx uncss index.html 404.html --stylesheets out/remixicon.css > out/_remixicon.css
|
npx uncss index.html --stylesheets out/remixicon.css > out/_remixicon.css
|
||||||
mv out/_remixicon.css out/remixicon.css
|
mv out/_remixicon.css out/remixicon.css
|
||||||
npx esbuild --bundle ts/main.ts --outfile=out/main.js --minify
|
npx esbuild --bundle ts/main.ts --outfile=out/main.js --minify
|
||||||
cp ../static/* out/
|
cp ../static/* out/
|
||||||
|
|
||||||
debug:
|
debug:
|
||||||
-mkdir -p out
|
-mkdir -p out
|
||||||
cp index.html 404.html favicon.ico out/
|
cp index.html out/
|
||||||
cp -r node_modules/remixicon/fonts/remixicon.css node_modules/remixicon/fonts/remixicon.woff2 out/
|
cp -r node_modules/remixicon/fonts/remixicon.css node_modules/remixicon/fonts/remixicon.woff2 out/
|
||||||
npx esbuild --bundle base.css --outfile=out/bundle.css --external:remixicon.css --minify
|
npx esbuild --bundle base.css --outfile=out/bundle.css --external:remixicon.css --minify
|
||||||
npx esbuild --bundle ts/main.ts --sourcemap --outfile=out/main.js --minify
|
npx esbuild --bundle ts/main.ts --sourcemap --outfile=out/main.js --minify
|
||||||
|
Loading…
Reference in New Issue
Block a user