Explorar o código

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 %!s(int64=6) %!d(string=hai) anos
pai
achega
7e2d1563a2
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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$/,