瀏覽代碼

doc: fix the framework guide

fix the loader limit expression, some theme files are in deep directories like ".../theme/dirA/dirB/dirC/file.css"
FF_Mercurial 6 年之前
父節點
當前提交
7e2d1563a2
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/framework/guides/quick-start.md

+ 2 - 2
docs/framework/guides/quick-start.md

@@ -56,14 +56,14 @@ module.exports = {
 	module: {
 		rules: [
 			{
-				// Or /ckeditor5-[^/]+\/theme\/icons\/[^/]+\.svg$/ if you want to limit this loader
+				// Or /ckeditor5-[^/]+\/theme\/icons\/.+\.svg$/ if you want to limit this loader
 				// to CKEditor 5 icons only.
 				test: /\.svg$/,
 
 				use: [ 'raw-loader' ]
 			},
 			{
-				// Or /ckeditor5-[^/]+\/theme\/[^/]+\.css$/ if you want to limit this loader
+				// Or /ckeditor5-[^/]+\/theme\/.+\.css$/ if you want to limit this loader
 				// to CKEditor 5 theme only.
 				test: /\.css$/,