Comments (6)
Hey @bux
Thanks for taking the time to make an issue.
What exactly is the issue with routerPrefix? I had created that configuration initially to solve this exact issue, as some integrations run from /__unlighthouse/
.
from unlighthouse.
hi @harlan-zw
i'm using this config for unlighthouse-ci
with --build-static
export default {
site: "vite-starter-template.netlify.app",
outputPath: "2022-04-07",
routerPrefix: "lhk/2022-04-07",
scanner: {
device: "mobile",
throttle: true,
},
};
The results folder is being output to the subfolder lhk
of the root project dir.
When running a node HTTP server (serve
) from the root project dir and navigating to the the subfolder lhk/2022-04-07
I can see some part of unlighthouse, but some assets fail to load and screenshots and reports don't seem to use the routerPrefix:
from unlighthouse.
Hey @bux
This should be sorted in version 0.3.20. Let me know if you have any other issues :)
npx [email protected] --config-file <your-config> --build-static
from unlighthouse.
Awesome. I will take a look into it. Thanks
from unlighthouse.
unlighthouse/0.3.21 win32-x64 node-v16.14.0
Does unlighthouse keep a build cache somewhere?
The index.[].js that is created contains an older prefix:
from unlighthouse.
@harlan-zw do you know what is happening here?
from unlighthouse.
Related Issues (20)
- Results Circle style
- onlyAudits doesnt work
- Upgrade Axios to latest HOT 2
- Remove @types/wrap-ansi dependency
- npm WARN deprecated
- Many errors running it locally. HOT 3
- Failing to read localStorage (access denied) on page.setCookie() HOT 2
- Update description of `--enable-i18n-pages` and Also follow canonical URLs on the same host HOT 1
- `--output-path` doesn't allow for absolute paths
- Error, mockRouter not found HOT 2
- unit testing with vitest HOT 1
- Router Prefix doesn't work for report screenshots HOT 1
- Can i increase Route run size above 200 HOT 1
- Relative urls when generating static report HOT 2
- Unlighthouse stuck at "Waiting for routes..." screen HOT 2
- [CI] [v0.11] `lighthouseOptions.throttlingMethod` always set to `provided` HOT 3
- Starting crawl from subdirectory HOT 4
- Cookies are missing during lighthouse scan HOT 3
- Build Static Report - Relative Pathing HOT 5
- Using `unlighthouse-ci --output-path= <path>` removes the target directory. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unlighthouse.