ES6 version with good export
vogloblinsky opened this issue · comments
Is it possible to change the Slim.es6.js file ?
You are using an UMD module inside Slim.js
It could be better to export directly Slim class in Slim.es6.js, and add your UMD stuff during ES5 build.
Basically, if you choose to work with webpack or other bundlers, you may want to import the default Slim.js file. The export is done manually in the src/Slim.js file. You are welcome to PR and add other export options.
👍
sorry i forgot to say that it is for using it directly inside a js file, inside an ES6 module in the browser.
i mean with type="module"
i will push the PR asap
That would be awesome. Thanks
@vogloblinsky When could I expect your PR?
Fixed in version 4
Thanks