Add JS IDE helper (#13012)

* add IDE helper for Webpack

* fix ESLint error in IDE helper

* fix IDE helper code style
This commit is contained in:
Даниил Пронин 2020-04-28 01:19:53 +10:00 committed by GitHub
父節點 acc367fd14
當前提交 ee017ca533
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 12 次插入0 次删除

12
ide-helper.js Normal file
查看文件

@ -0,0 +1,12 @@
/* global path */
/*
Preferences | Languages & Frameworks | JavaScript | Webpack | webpack configuration file
jetbrains://WebStorm/settings?name=Languages+%26+Frameworks--JavaScript--Webpack
*/
module.exports = {
resolve: {
alias: {
'mastodon': path.resolve(__dirname, 'app/javascript/mastodon'),
},
},
};