소스 검색

Restricted babel-loader to CKEditor 5 assets only.

Kamil Piechaczek 7 년 전
부모
커밋
2213d7c22d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/builds/guides/integration/advanced-setup.md

+ 1 - 1
docs/builds/guides/integration/advanced-setup.md

@@ -417,7 +417,7 @@ Then, add this item to webpack [`module.rules`](https://webpack.js.org/configura
 module: {
 	rules: [
 		{
-			test: /\.js$/,
+			test: /ckeditor5-[^\/\\]+[\/\\].*\.js$/,
 			use: [
 				{
 					loader: 'babel-loader',