Last active
March 22, 2017 13:37
-
-
Save aslakhellesoy/b6c3bbc70e447399f5d7e697f83780a6 to your computer and use it in GitHub Desktop.
Replace `import Stream from "stream"` with `const Stream = require('stream')` in JavaScript (Atom)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^import (.*) from ["'](.*)["']$ | |
const $1 = require('$2') | |
export default | |
module.exports = |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment