From 4ed69d69d39d8a796e584e6a832ff83e9f396d68 Mon Sep 17 00:00:00 2001 From: nuintun Date: Thu, 26 Dec 2024 15:02:12 +0800 Subject: [PATCH] docs: Update code --- packages/examples/app.config.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/examples/app.config.js b/packages/examples/app.config.js index 248ed43c..e79c70fc 100644 --- a/packages/examples/app.config.js +++ b/packages/examples/app.config.js @@ -25,5 +25,14 @@ export default { favicon: path.resolve('app/images/favicon.ico'), alias: { '/js': js, '/css': css, '/images': images }, meta: { viewport: 'width=device-width,initial-scale=1.0' }, - plugins: [new CopyWebpackPlugin({ patterns: [{ from: 'images/qrcode.jpg', to: 'images/qrcode.jpg' }] })] + plugins: [ + new CopyWebpackPlugin({ + patterns: [ + { + from: 'images/qrcode.jpg', + to: 'images/qrcode.jpg' + } + ] + }) + ] };