refactor(lqip-loader): split test files (#6858)

This commit is contained in:
Joshua Chen 2022-03-06 18:34:04 +08:00 committed by GitHub
parent f763ac13a9
commit 5e2168ea22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 33 additions and 25 deletions

View file

@ -56,7 +56,7 @@ export default function pluginIdealImage(
module: {
rules: [
{
test: /\.(?:png|jpe?g|gif)$/i,
test: /\.(?:png|jpe?g)$/i,
use: [
require.resolve('@docusaurus/lqip-loader'),
{