chore: version preact explicitly in import map (#258)
This allows users to control the `preact` version independently of fresh itself.
This commit is contained in:
+2
-1
@@ -1,4 +1,5 @@
|
||||
import { createContext, useContext } from "./deps.ts";
|
||||
import { createContext } from "preact";
|
||||
import { useContext } from "preact/hooks";
|
||||
|
||||
export const SELF = "'self'";
|
||||
export const UNSAFE_INLINE = "'unsafe-inline'";
|
||||
|
||||
Reference in New Issue
Block a user