Przeglądaj źródła

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 lat temu
rodzic
commit
7e2d1563a2
1 zmienionych plików z 2 dodań i 2 usunięć
  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$/,