]> cat aescling's git repositories - mastodon.git/commitdiff
Add JS IDE helper (#13012)
authorДаниил Пронин <mail@grawl.ru>
Mon, 27 Apr 2020 15:19:53 +0000 (01:19 +1000)
committerGitHub <noreply@github.com>
Mon, 27 Apr 2020 15:19:53 +0000 (17:19 +0200)
* add IDE helper for Webpack

* fix ESLint error in IDE helper

* fix IDE helper code style

ide-helper.js [new file with mode: 0644]

diff --git a/ide-helper.js b/ide-helper.js
new file mode 100644 (file)
index 0000000..9e645cb
--- /dev/null
@@ -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'),
+    },
+  },
+};