私はアプリケーション内にとcode splittingを使用しようとしています。私はこれが理由の一部es-lint
設定であると仮定しCRAとバンドルローダー
Line 5: Unexpected '!' in 'bundle-loader?lazy!./Settings'. Do not use import syntax to configure webpack loaders import/no-webpack-loader-syntax
:
import loadSettings from 'bundle-loader?lazy!./Settings';
この行は私のエラーを取得します。 CRAアプリケーションの中でwebpack bundle-loader
を使用できるように、どうすれば無効にできますか?