From 7cc00acd2f55b123fd80c6402d845dd3ab7215f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E5=93=BC=E5=94=A7L?= Date: Tue, 5 Dec 2023 10:43:17 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=A9=E6=94=BE=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/webpack.prod.conf.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js index fe4aea4..d0fd3ca 100644 --- a/build/webpack.prod.conf.js +++ b/build/webpack.prod.conf.js @@ -110,6 +110,11 @@ const webpackConfig = merge(baseWebpackConfig, { children: true, minChunks: 3 }), + + new webpack.ProvidePlugin({ + 'window.Quill': 'quill/dist/quill.js', + 'Quill': 'quill/dist/quill.js' + }), // copy custom static assets new CopyWebpackPlugin([