You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+34-4
Original file line number
Diff line number
Diff line change
@@ -310,7 +310,7 @@ app.prepare().then(() => {
310
310
```
311
311
312
312
The `next` API is as follows:
313
-
-`next(path: string, opts: object)` - `path` is
313
+
-`next(path: string, opts: object)` - `path` is
314
314
-`next(opts: object)`
315
315
316
316
Supported options:
@@ -396,10 +396,40 @@ In order to extend our usage of `webpack`, you can define a function that extend
396
396
The following example shows how you can use [`react-svg-loader`](https://github.com/boopathi/react-svg-loader) to easily import any `.svg` file as a React component, without modification.
397
397
398
398
```js
399
+
// This file is not going through babel transformation.
400
+
// So, we write it in vanilla JS
401
+
// (But you could use ES2015 features supported by your Node.js version)
0 commit comments