ソースを参照

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',