Browse Source
Add JS IDE helper (#13012)
* add IDE helper for Webpack
* fix ESLint error in IDE helper
* fix IDE helper code style
master
Даниил Пронин
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
12 additions and
0 deletions
-
ide-helper.js
|
@ -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'), |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
}; |