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
vanhempi acc367fd14
commit ee017ca533
No known key found for this signature in database
GPG avaimen ID: 4AEE18F83AFDEB23
1 muutettua tiedostoa jossa 12 lisäystä ja 0 poistoa

12
ide-helper.js Normal file
Näytä tiedosto

@ -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'),
},
},
};