Co-authored-by: gorbenko.pavel <gorbenko.pavel@tansu.kz> Reviewed-on: http://git.tnsu.kz/timur.gorodetskiy/request-portal/pulls/8
This commit was merged in pull request #8.
This commit is contained in:
@@ -295,6 +295,13 @@ module.exports = {
|
||||
'@microsoft/spfx/no-require-ensure': 2,
|
||||
}
|
||||
},
|
||||
{
|
||||
// Файлы локализации SPFx (loc/*.js) — это AMD-модули: их подключает
|
||||
// загрузчик страницы через define(), а не бандлер. Без объявления среды
|
||||
// no-undef считает define необъявленной переменной.
|
||||
files: ['**/loc/*.js'],
|
||||
env: { amd: true }
|
||||
},
|
||||
{
|
||||
// For unit tests, we can be a little bit less strict. The settings below revise the
|
||||
// defaults specified in the extended configurations, as well as above.
|
||||
|
||||
Reference in New Issue
Block a user