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
56a45f061a
rsnext
/
test
/
integration
/
amp-export-validation
/
pages
/
second.js
4 lines
82 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Add export const config support and make withAmp a no-op (#7525) * Add export const config support and make withAmp a no-op * Use babel plugin for PageConfig * Fix serverless-loader exports * Add backwards compatibility for withAmp
2019-06-10 02:16:14 +02:00
export
const
config
=
{
amp
:
true
}
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
Add export const config support and make withAmp a no-op (#7525) * Add export const config support and make withAmp a no-op * Use babel plugin for PageConfig * Fix serverless-loader exports * Add backwards compatibility for withAmp
2019-06-10 02:16:14 +02:00
export
default
(
)
=>
<
p
>
Hello
again
AMP
!
<
/
p
>
Reference in a new issue
Copy permalink