Skip to content
Snippets Groups Projects
Unverified Commit fbd6e377 authored by Émile Perron's avatar Émile Perron Committed by GitHub
Browse files

Add option to specify a URL in the manual extension (#1479)

* Add option to specify a URL in the manual extension

* Fix error when option parameter isn't provided
The uglify-js dependency had to be updated to support the optional chaining operator

* Remove the possibility to pass a function for the custom URL
This added weight unnecessarily, as the users can simply call the function themselves before triggering the event.

* Change optional chaining to ternary for improved browser support

* Revert package-lock.json to version 3.9.4 of uglify-js
It was previously updated to support optional chaining; reverting it as a reminder that this is the current browser support level that is accepted by Plausible.
parent f26fdfd9
Branches
No related tags found
No related merge requests found
Showing
with 20 additions and 19 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment