mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-16 18:49:50 +00:00
Multithread AVIF PoC
This commit is contained in:
committed by
Ingvar Stepanyan
parent
63ac34a662
commit
685558847f
@@ -164,7 +164,7 @@ module.exports = async function(_, env) {
|
||||
type: 'webassembly/experimental',
|
||||
},
|
||||
{
|
||||
test: /\.(png|svg|jpg|gif)$/,
|
||||
test: /\.(png|svg|jpg|gif|worker\.js)$/,
|
||||
loader: 'file-loader',
|
||||
options: {
|
||||
name: '[name].[hash:5].[ext]',
|
||||
@@ -174,8 +174,7 @@ module.exports = async function(_, env) {
|
||||
},
|
||||
plugins: [
|
||||
new webpack.IgnorePlugin(
|
||||
/(fs|crypto|path)/,
|
||||
/[/\\]codecs[/\\]/
|
||||
/^(fs|crypto|path|perf_hooks|worker_threads)$/
|
||||
),
|
||||
|
||||
// Pretty progressbar showing build progress:
|
||||
|
||||
Reference in New Issue
Block a user