mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Convert zip and buffer to normal imports
This commit is contained in:
parent
8e7c45e3b6
commit
ff991ac043
1 changed files with 4 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// import { Buffer, Blob } from 'buffer'
|
||||
import bufferApi from 'buffer'
|
||||
// import prettyBytes from 'pretty-bytes'
|
||||
// import zip from '@zip.js/zip.js'
|
||||
import * as zip from '@zip.js/zip.js'
|
||||
// import FileApi from 'file-api'
|
||||
|
||||
|
||||
|
|
@ -11,9 +11,9 @@ import { parsePlistBuffer } from '~/helpers/scanner/parsers/plist.js'
|
|||
|
||||
// For some reason inline 'import()' works better than 'import from'
|
||||
// https://gildas-lormeau.github.io/zip.js/
|
||||
const zip = await import('@zip.js/zip.js')
|
||||
// const zip = await import('@zip.js/zip.js')
|
||||
|
||||
const bufferApi = await import('buffer')
|
||||
// const bufferApi = await import('buffer')
|
||||
// const FileApi = await import('file-api')
|
||||
// const { parse: plistParse } = await import('simple-plist/dist/index.js')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue