diff options
author | Anton Timmermans <atimmer@git.wordpress.org> | 2018-06-15 10:18:44 +0000 |
---|---|---|
committer | Anton Timmermans <atimmer@git.wordpress.org> | 2018-06-15 10:18:44 +0000 |
commit | 78f2b0e73157a2b62ba947793d9488accfdd78c0 (patch) | |
tree | 892d41b85a1d05fd6ddcc438df3be0041966b703 /src/js/_enqueues/lib/pointer.js | |
parent | e32886cbdfc4a0f42412d28ee2d4dfabe73f019e (diff) | |
download | wordpress-78f2b0e73157a2b62ba947793d9488accfdd78c0.tar.gz wordpress-78f2b0e73157a2b62ba947793d9488accfdd78c0.zip |
Docs: Add file doc `@output` annotations.
These annotations make it clear to the reader of a JavaScript source
where the build process outputs to. These annotations can later be
integrated in a webpack configuration. This way there is one source of
truth.
The `build` folder is omitted from the paths, because a single JS file
shouldn't not be responsible of knowing where outputs in general will
end up at. A file only knows its output location relative to the
project.
Props adamsilverstein, herregroen, omarreiss, pento.
Fixes #44361.
git-svn-id: https://develop.svn.wordpress.org/trunk@43347 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'src/js/_enqueues/lib/pointer.js')
-rw-r--r-- | src/js/_enqueues/lib/pointer.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/js/_enqueues/lib/pointer.js b/src/js/_enqueues/lib/pointer.js index 9f67389004..f841f82308 100644 --- a/src/js/_enqueues/lib/pointer.js +++ b/src/js/_enqueues/lib/pointer.js @@ -1,3 +1,7 @@ +/** + * @output wp-includes/js/wp-pointer.js + */ + /* global wpPointerL10n */ /** |