Browse Source

Add JS IDE helper (#13012)

* add IDE helper for Webpack

* fix ESLint error in IDE helper

* fix IDE helper code style
Даниил Пронин 3 months ago
parent
commit
ee017ca533
No account linked to committer's email address
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      ide-helper.js

+ 12
- 0
ide-helper.js View File

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

Loading…
Cancel
Save