We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e8e4de commit be2c69aCopy full SHA for be2c69a
content/guides/code-splitting-async.md
@@ -155,8 +155,15 @@ module.exports = {
155
156
Not using the `syntax-dynamic-import` plugin will fail the build with:
157
158
-* `Module build failed: SyntaxError: 'import' and 'export' may only appear at the top level`, or
159
-* `Module build failed: SyntaxError: Unexpected token, expected {`
+```javascript
+Module build failed: SyntaxError: 'import' and 'export' may only appear at the top level
160
+```
161
+
162
+or
163
164
165
+Module build failed: SyntaxError: Unexpected token, expected {
166
167
168
169
### Usage with Babel and `async`/`await`
0 commit comments