Skip to content

Instantly share code, notes, and snippets.

View avencat's full-sized avatar

Axel Vencatareddy avencat

View GitHub Profile
@tschoffelen
tschoffelen / webpack.config.js
Last active September 27, 2018 09:21
Tricking PHPStorm in supporting React Native path aliases.
/**
* Why is this here you ask? React Native doesn't use Webpack. True. This file is here to trick
* IDEA in recognizing module aliases (see the package.json files in some of the subdirs).
* Nice solution? No. Does it work? Sure.
* Tracker URL: https://youtrack.jetbrains.com/issue/WEB-23221
*
* - TS
*/
const fs = require('fs')