Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need help with minification #30

Open
TauseefMalik opened this issue Oct 26, 2018 · 1 comment
Open

Need help with minification #30

TauseefMalik opened this issue Oct 26, 2018 · 1 comment

Comments

@TauseefMalik
Copy link

I get token errors on using a minifier. Can anybody please help?

@tpscrpt
Copy link

tpscrpt commented Nov 29, 2018

@TauseefMalik yes! It's because the selection.js script uses es6, which isn't compatible with a lot of minification tools (which use the standard es2015, or es5). You should be able to find it soon with

<script src="https://unpkg.com/selection-js"></script>

To automatically get a minified version in your projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants