Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
f3d3a471
Commit
f3d3a471
authored
Mar 12, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move tip into blockquote
parent
9f9257fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
doc/development/fe_guide/performance.md
doc/development/fe_guide/performance.md
+5
-8
No files found.
doc/development/fe_guide/performance.md
View file @
f3d3a471
...
@@ -75,15 +75,12 @@ bundle and included on the page.
...
@@ -75,15 +75,12 @@ bundle and included on the page.
> manually generated webpack bundles. However under this new system you should
> manually generated webpack bundles. However under this new system you should
> not ever need to manually add an entry point to the `webpack.config.js` file.
> not ever need to manually add an entry point to the `webpack.config.js` file.
In addition to these page-specific bundles, the code within
`main.js`
and
> **Tip:**
`commons/index.js`
are imported on _all_ pages.
> If you are unsure what controller and action corresponds to a given page, you
> can find this out by inspecting `document.body.dataset.page` within your
> browser's developer console while on any page within gitlab.
#### Important Tips and Considerations:
#### Important Considerations:
-
**Identifying Controller Paths:**
If you are unsure what controller and action corresponds to a given page, you
can find this out by inspecting
`document.body.dataset.page`
within your
browser's developer console while on any page within gitlab.
-
**Keep Entry Points Lite:**
-
**Keep Entry Points Lite:**
Page-specific javascript entry points should be as lite as possible. These
Page-specific javascript entry points should be as lite as possible. These
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment