Skip to content

Commit

Permalink
fix: add missing structuredClone definition
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksteamdev committed Jan 6, 2025
1 parent b7ab11e commit ff51b89
Show file tree
Hide file tree
Showing 2 changed files with 218 additions and 206 deletions.
8 changes: 2 additions & 6 deletions packages/vite-plugin/src/node/plugin-manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,15 @@ import { ResolvedConfig } from 'vite'
import { contentScripts, hashScriptId } from './contentScripts'
import { formatFileData, getFileName, prefix } from './fileWriter-utilities'
import { htmlFiles, manifestFiles } from './files'
import {
decodeManifest,
encodeManifest,
isString,
} from './helpers'
import { decodeManifest, encodeManifest, isString } from './helpers'
import { ManifestV3 } from './manifest'
import { basename, isAbsolute, join, relative } from './path'
import { getOptions } from './plugin-optionsProvider'
import { CrxPlugin, CrxPluginFn, ManifestFiles } from './types'
import { manifestId, stubId } from './virtualFileIds'
const { readFile } = fs

// const debug = _debug('manifest')
declare const structuredClone: <T>(value: T) => T

/**
* This plugin emits, transforms, renders, and outputs the manifest.
Expand Down
Loading

0 comments on commit ff51b89

Please sign in to comment.