This website requires JavaScript.
Explore
Help
Sign In
archive
/
rsnext
Watch
1
Star
0
Fork
You've already forked rsnext
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
4718bd675f
rsnext
/
test
/
integration
/
export-default-map
/
pages
/
some.js
6 lines
95 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Replace `.amp.js` with `withAmp(Comp)` (#7009) * Add WithAmp to enable AMP support for pages instead of .amp.js * Update handling for exporting AMP * Fix ampPath in export for / path and revert isAmp logic to handle right * Update amphtml test suite * Add handling for noDirtyAmp during export and update amp-export test suite * Update serverless and export-default-map test suites * Update require-page tests
2019-04-11 20:59:26 +02:00
import
{
withAmp
}
from
'next/amp'
export
default
withAmp
(
(
)
=>
(
Update export tests and fixed import (#6738) * Fix import in export worker * Update export tests * Turn test parallelism up * Fix config in export-default-map * Switch parallelism back to 3
2019-03-20 16:42:02 +01:00
<
p
>
I
'
m
an
AMP
page
<
/
p
>
Replace `.amp.js` with `withAmp(Comp)` (#7009) * Add WithAmp to enable AMP support for pages instead of .amp.js * Update handling for exporting AMP * Fix ampPath in export for / path and revert isAmp logic to handle right * Update amphtml test suite * Add handling for noDirtyAmp during export and update amp-export test suite * Update serverless and export-default-map test suites * Update require-page tests
2019-04-11 20:59:26 +02:00
)
)
Reference in a new issue
Copy permalink