From 1bcf3fc3a0bb1a11138afc1264d41cb0ddbcaf51 Mon Sep 17 00:00:00 2001 From: FrancescoBorzi Date: Wed, 18 Sep 2024 18:12:47 +0200 Subject: [PATCH] fix: build files to the right dir --- docs/{browser => }/favicon.ico | Bin docs/{browser => }/index.html | 0 docs/{browser => }/main-3XBFSFGL.js | 0 docs/{browser => }/polyfills-MH5IBZ74.js | 0 docs/{browser => }/styles-5CUH463T.css | 0 package.json | 5 +++-- 6 files changed, 3 insertions(+), 2 deletions(-) rename docs/{browser => }/favicon.ico (100%) rename docs/{browser => }/index.html (100%) rename docs/{browser => }/main-3XBFSFGL.js (100%) rename docs/{browser => }/polyfills-MH5IBZ74.js (100%) rename docs/{browser => }/styles-5CUH463T.css (100%) diff --git a/docs/browser/favicon.ico b/docs/favicon.ico similarity index 100% rename from docs/browser/favicon.ico rename to docs/favicon.ico diff --git a/docs/browser/index.html b/docs/index.html similarity index 100% rename from docs/browser/index.html rename to docs/index.html diff --git a/docs/browser/main-3XBFSFGL.js b/docs/main-3XBFSFGL.js similarity index 100% rename from docs/browser/main-3XBFSFGL.js rename to docs/main-3XBFSFGL.js diff --git a/docs/browser/polyfills-MH5IBZ74.js b/docs/polyfills-MH5IBZ74.js similarity index 100% rename from docs/browser/polyfills-MH5IBZ74.js rename to docs/polyfills-MH5IBZ74.js diff --git a/docs/browser/styles-5CUH463T.css b/docs/styles-5CUH463T.css similarity index 100% rename from docs/browser/styles-5CUH463T.css rename to docs/styles-5CUH463T.css diff --git a/package.json b/package.json index 391216a..5066139 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,9 @@ "scripts": { "ng": "ng", "start": "ng serve", - "build": "ng build", - "build:prod": "ng build --configuration production --base-href . --output-path docs", + "build": "ng build; npm run postbuild", + "build:prod": "ng build --configuration production --base-href . --output-path docs; npm run postbuild", + "postbuild": "rm 3rdpartylicenses.txt; mv docs/browser/* docs/", "watch": "ng build --watch --configuration development", "test": "ng test" },