ci: update travis build (#71)
Update travis build to prevent hashing of files for theme configuration. Fixes #70
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ before_script:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- ng lint
|
- ng lint
|
||||||
- ng build --prod --base-href="/web-app/"
|
- ng build --prod --output-hashing=none --base-href="/web-app/"
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: pages
|
provider: pages
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@
|
|||||||
"license": "MPL-2.0",
|
"license": "MPL-2.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"ng": "ng",
|
"ng": "ng",
|
||||||
"build": "npm run env -s && ng build --prod",
|
"build": "npm run env -s && ng build --prod --output-hashing=none",
|
||||||
"start": "npm run env -s && ng serve --aot --proxy-config proxy.conf.js",
|
"start": "npm run env -s && ng serve --aot --proxy-config proxy.conf.js",
|
||||||
"serve:sw": "npm run build -s && npx http-server ./dist -p 4200",
|
"serve:sw": "npm run build -s && npx http-server ./dist -p 4200",
|
||||||
"lint": "ng lint && stylelint \"src/**/*.scss\" --syntax scss && htmlhint \"src\" --config .htmlhintrc",
|
"lint": "ng lint && stylelint \"src/**/*.scss\" --syntax scss && htmlhint \"src\" --config .htmlhintrc",
|
||||||
|
|||||||
Reference in New Issue
Block a user