Skip to content
#

upload-file

Here are 400 public repositories matching this topic...

np-8
np-8 commented Feb 27, 2022

A long time has gone from the early days of dash-uploader (there might something in the package.json even from the early 2018 from dash-resumable-upload).

The JS word changes fast, and it would be time to:

  • Remove any dependencies in package.json that are not needed
  • Update / change any dependencies of deprecated packages
  • [ ]
xis
xis commented Feb 24, 2021

We can create a S3Store (or another name) like FileSystemStore in the saver.go file.

like,

package baraka

type S3Store struct {
    // specific settings
}

func NewS3Store(/* specific settings */) S3Store {
    return S3Store{
        // specific settings
    }
}

func (s S3Store) Save(path string, filename string, p
enhancement help wanted good first issue
Acceyuriko
Acceyuriko commented Apr 27, 2021

插件很棒。

尝试了一下升级到 webpack5 之后,不能通过测试了。

目前发现

  1. test 中 result.compilation.assets['file.js'].source() 会失败,因为 webpack 5 将 assets 都替换为了 SizeOnlySource。可以读取 MemoryFileSystem 里面的文件替换这个功能, 如 fs.readFileSync(path.join(__dirname, 'dist/file.js'), 'utf8')
  2. replaceAsyncChunkName 功能坏掉了,目前还不清楚具体原因。
help wanted good first issue

Improve this page

Add a description, image, and links to the upload-file topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the upload-file topic, visit your repo's landing page and select "manage topics."

Learn more