Browse Source

Wordsmithing

main
Brian Vaughn 8 years ago
committed by GitHub
parent
commit
2c59262a97
  1. 3
      content/docs/cross-origin-errors.md

3
content/docs/cross-origin-errors.md

@ -38,5 +38,4 @@ If you use Webpack, we recommend using the `cheap-module-source-map` setting in
If your application is split into multiple bundles, these bundles may be loaded using JSONP. This may cause errors thrown in the code of these bundles to be treated as cross-origin.
If you use Webpack, you can use the [`crossOriginLoading`](https://webpack.js.org/configuration/output/#output-crossoriginloading) setting in development to add the `crossorigin` attribute to the `<script>` tags generated for the JSONP requests.
To resolve this, use the [`crossOriginLoading`](https://webpack.js.org/configuration/output/#output-crossoriginloading) setting in development to add the `crossorigin` attribute to the `<script>` tags generated for the JSONP requests.

Loading…
Cancel
Save