There is a bug that causes wxt.config modified via hook to be reset. I'm modifying the outDir, but the path is broken. The path is correct at startup dev, but the reset when the HMR reloads. This is causing con
awaitreloadConfig();wxt.hooks.CallHook("reload:before",()=>{});...wxt.hooks.CallHook("reload:done",()=>{}); The following is my temporary solution, reconfigured in arelatively early hook.However, this is not a proper or legitimate solution. The reason I configure the manifest in a s...
consthandler = {// Our hook to keep the trackapply:function(target, thisArg, args){console.log("Intercepted a call tocreateElement with args: "+ args);returntarget.apply(thisArg, args) } }document.createElement=newProxy(document.createElement, handler)// Create our proxy object withour hook r...
Installation Type Hook Type Functional design Flexible, Multifunction Dimensional tolerance <±5mm Weight tolerance <±5%(includ) Season Everyday Design Style Modern, Morden Luxury Product name Plastic Clothes Hanger Color Black,Any Color Usage Display for clothing,Daily life Logo ...
In wxt/src/core/builders/vite/plugins/devHtmlPrerender.ts, we need to grab the resolve.alias option from the configResolved hook and store it in a varaible. Then, in the pointToDevServer in the same file, we need to attempt to resolve the path using the aliases. I don't know how ...
Overwrite the bad value or leave it as-is? How do we integrate a logger for error reporters to hook into? Some questions to answer... 👍 1 Contributor Timeraa commented Nov 16, 2024 Not quite sure how you'd design the api around it but might be nice to have the option to ...
@aklinker1 I've applied the logic as you mentioned, passing a boolean parameter to the findEntrypoints function. Additionally while filtering options.exclude I had to use relative path, cause it wa...
If the recommended approach doesn't work for your use case, you can use any of the filename patterns below to build the styles separate from the JS and use the [`transformManifest` hook](/api/wxt/interfaces/InlineConfig#transformmanifest) to manually add your CSS file to the manifest. 2...
* that get's added to the DOM. This element's style is not isolated from the webpage. @@ -191,7 +191,7 @@ export interface ContentScriptUi<T> { /** * Custom data returned from the `options.mount` function. */ mounted: T; mounted: TApp; /** * Function that mounts or remount...