Created
January 6, 2018 12:17
-
-
Save avaly/805cb77f3d2ec6e773ce32b63c7f94c3 to your computer and use it in GitHub Desktop.
std-esm-0.19.1-bug
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
Show hidden characters
{ | |
"presets": ["flow"] | |
} |
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
const foo: string = 'lorem ipsum'; | |
export default { | |
foo, | |
}; |
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
{ | |
"name": "esm", | |
"version": "1.0.0", | |
"main": "index.js", | |
"license": "MIT", | |
"@std/esm": { | |
"debug": true, | |
"esm": "js" | |
}, | |
"dependencies": { | |
"@std/esm": "0.18.0", | |
"babel-core": "^6.26.0", | |
"babel-preset-flow": "^6.23.0", | |
"babel-register": "^6.26.0" | |
} | |
} |
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
require('babel-register'); | |
require = require('@std/esm')(module); | |
const config = require('./config'); | |
console.info('config', config, config.default); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment