Closed DenisCarriere closed 8 years ago
Having issues wrapping my head around importing this module using a ES6 syntax.
Can you elaborate on how to import this module?
Which one of these would be ES6 valid and still functional?
const polylabel = require('polylabel') import polylabel from 'polylabel' import { polylabel } from 'polylabel' import * as polylabel from 'polylabel'
-> #10
Having issues wrapping my head around importing this module using a ES6 syntax.
Can you elaborate on how to import this module?
Which one of these would be ES6 valid and still functional?