mediawiki.page.watch.ajax: Move into separate dir to improve source map
Source maps are now enabled on www.mediawiki.org, and one of the things that stand out are virtual files that appear directly in the resources/src/ directory. As per T193826, modules with multiple files should have their own directory, and that includes virtual files when it comes to source maps. Bug: T47514 Bug: T193826 Change-Id: I49a9cc755a1d78a1468cf918abaadd9ea8dc1776
This commit is contained in:
parent
0fd7b663c5
commit
f0fea5a6b2
2 changed files with 3 additions and 3 deletions
|
|
@ -1656,10 +1656,10 @@ return [
|
|||
]
|
||||
],
|
||||
'mediawiki.page.watch.ajax' => [
|
||||
'localBasePath' => MW_INSTALL_PATH . '/resources/src',
|
||||
'remoteBasePath' => "$wgResourceBasePath/resources/src",
|
||||
'localBasePath' => MW_INSTALL_PATH . '/resources/src/mediawiki.page.watch.ajax',
|
||||
'remoteBasePath' => "$wgResourceBasePath/resources/src/mediawiki.page.watch.ajax",
|
||||
'packageFiles' => [
|
||||
'mediawiki.page.watch.ajax.js',
|
||||
'watch-ajax.js',
|
||||
[ 'name' => 'config.json', 'config' => [ MainConfigNames::WatchlistExpiry ] ],
|
||||
],
|
||||
'dependencies' => [
|
||||
|
|
|
|||
Loading…
Reference in a new issue