Explorar el Código

Add JS IDE helper (#13012)

* add IDE helper for Webpack

* fix ESLint error in IDE helper

* fix IDE helper code style
Даниил Пронин hace 4 años
padre
commit
ee017ca533
Se han modificado 1 ficheros con 12 adiciones y 0 borrados
  1. 12 0
      ide-helper.js

+ 12 - 0
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'),
+    },
+  },
+};