G
Pre-release v8.1.1-canary.69
### Patches
- Update to have default pageProps of {} instead of null: #7734
- Improve automatic prerendering warning: #7759
- Remove old docs: #7760
### Credits
Huge thanks to @Timer for helping!
Size: a a a
G
S
const routes = require('next-routes');
module.exports = routes()
.add('admin', '/admin/:slug')
.add('index', '/:page');
Z
const routes = require('next-routes');
module.exports = routes()
.add('admin', '/admin/:slug')
.add('index', '/:page');
S
S
M
M
h
M
h
h
h
config.module.rules.push({
test: /.svg$/,
use: [
{
loader: '@svgr/webpack',
options: {
svgo: false,
ref: true,
},
},
'url-loader',
],
});
h
VI
long scripts evaluation
в pagespeed?h
long scripts evaluation
в pagespeed?VI
h
h