-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
docs(Ads): fix rendering in SSR #3218
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,8 @@ | |
"scripts": { | ||
"build": "cross-env NODE_ENV=production gulp build", | ||
"build:changelog": "github_changelog_generator --no-issues --no-unreleased --release-branch master --since-tag $(git describe --abbrev=0 --tags $(git rev-parse HEAD~300))", | ||
"build:docs": "gulp --series build:docs", | ||
"build:docs": "cross-env NODE_ENV=production gulp build:docs", | ||
"build:docs:staging": "cross-env STAGING=true yarn build:docs && yarn serve docs/dist", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this for local development? If so, should it be NODE_ENV=development? If not, why not NODE_ENV=staging? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This for testing production build of docs locally There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. NODE_ENV=test? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The main idea that build will be production, so you will have the same result as will be on The current production build cannot be tested locally because it has hardcoded links to So we can't use there |
||
"build:dist": "gulp --series build:dist", | ||
"ci": "yarn tsd:lint && yarn tsd:test && yarn lint && yarn test", | ||
"predeploy:docs": "cross-env NODE_ENV=production yarn build:docs && gulp build:docs:cname", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We added changes to styles in #3215, but they can be cached because we don't manage these styles by Webpack (i.e. content hash or other hash).