Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[static-build] Add Docusaurus v2 default routes for assets #4973

Merged
merged 5 commits into from
Aug 7, 2020
Merged

[static-build] Add Docusaurus v2 default routes for assets #4973

merged 5 commits into from
Aug 7, 2020

Conversation

ykzts
Copy link
Contributor

@ykzts ykzts commented Aug 4, 2020

@styfle styfle changed the title [static-build] Add Docusaurus v2 default routes [static-build] Add Docusaurus v2 default routes for assets Aug 4, 2020
continue: true,
},
{
src: '^/ideal-img/[^/]+\\.[0-9a-f]{7}\\.\\d+\\.(png|jpe?g|gif)$',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

packages/now-static-build/src/frameworks.ts Outdated Show resolved Hide resolved
continue: true,
},
{
src: '^/assets/medias/[^/]+-[0-9a-f]{32}\\.(ogv|wav|mp3|m4a|aac|oga|flac)$',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

continue: true,
},
{
src: '^/assets/images/[^/]+-[0-9a-f]{32}\\.(ico|svg|jpg|jpeg|png|gif|webp)$',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

styfle
styfle previously approved these changes Aug 5, 2020
Copy link
Member

@styfle styfle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 🎉

@styfle styfle requested a review from TooTallNate August 5, 2020 21:53
@styfle styfle merged commit d563a99 into vercel:master Aug 7, 2020
@ykzts ykzts deleted the assets-dir branch August 7, 2020 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants