File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,10 @@ if (ctx === undefined) {
2626
2727if ( ctx . ReactOnRails !== undefined ) {
2828 /* eslint-disable @typescript-eslint/no-base-to-string -- Window and Global both have useful toString() */
29- throw new Error ( `
30- The ReactOnRails value exists in the ${ ctx } scope, it may not be safe to overwrite it.
31-
32- This could be caused by setting Webpack's optimization.runtimeChunk to "true" or "multiple," rather than "single." Check your Webpack configuration.
33-
34- Read more at https://github.com/shakacode/react_on_rails/issues/1558.
35- ` ) ;
29+ throw new Error ( `\
30+ The ReactOnRails value exists in the ${ ctx } scope, it may not be safe to overwrite it.
31+ This could be caused by setting Webpack's optimization.runtimeChunk to "true" or "multiple," rather than "single."
32+ Check your Webpack configuration. Read more at https://github.com/shakacode/react_on_rails/issues/1558.` ) ;
3633 /* eslint-enable @typescript-eslint/no-base-to-string */
3734}
3835
You can’t perform that action at this time.
0 commit comments