We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
watch
1 parent c63ae20 commit fdf7a61Copy full SHA for fdf7a61
deno.json
@@ -1,6 +1,6 @@
1
{
2
"tasks": {
3
- "dev": "deno run -A lib/watch.ts blog components lib assets routes plugins -- deno run -A main.tsx --dev"
+ "dev": "deno -A jsr:@effection-contrib/watch deno run -A main.tsx --dev"
4
},
5
"lint": {
6
"rules": {
plugins/umami.ts
@@ -13,7 +13,7 @@ const UmamiContext = createContext<Required<UmamiOptions>>("umami");
13
export function* umamiPlugin(
14
options: UmamiOptions,
15
): Operation<RevolutionPlugin> {
16
- if (!options.websiteID) {
+ if (options.enabled && !options.websiteID) {
17
throw new Error(
18
"UmamiPlugin: 'websiteId' is required but was not provided. Please pass it in as an option.",
19
);
0 commit comments