From: Даниил Пронин Date: Mon, 27 Apr 2020 15:19:53 +0000 (+1000) Subject: Add JS IDE helper (#13012) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=ee017ca5330e0103ac4e1cbaaffa3f24cc4d362a;p=mastodon.git Add JS IDE helper (#13012) * add IDE helper for Webpack * fix ESLint error in IDE helper * fix IDE helper code style --- diff --git a/ide-helper.js b/ide-helper.js new file mode 100644 index 000000000..9e645cb0e --- /dev/null +++ b/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'), + }, + }, +};