Closed kevinSuttle closed 8 years ago
Sorry, the idea of ES named exports is to have control for imports. So if you want use a names from JS files, you should use export default { name: 1 }
So it's just exporting an anonymous object, then importing via:
import name from 'Vars'
?
Yeap. I think it is the most ES6-ish way.
See https://github.com/pascalduez/postcss-map/issues/76 for example.