-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
I am using this package to make file names with hash.
but the problem is i want to upload files to S3 Server but your plugin runs after webpackconfig plugins!
here is my plugin apply method:
apply(compiler) {
compiler.plugin('after-emit', (compilation, cb) => {
this.validateOptions(compilation, cb)
this.getAssets(compilation)
.then(files => this.filterAllowedAssets(files))
.then(files => this.uploadAssets(files))
.then(() => this.filterAllowedDirectories())
.then(directories => this.uploadDirectories(directories))
.then(() => cb())
.catch(e => this.handleErrors(e, compilation, cb));
});
}
Metadata
Metadata
Assignees
Labels
No labels