-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Minified bundle no longer accurate. #19
Comments
OMG, installed babel-cli and babel-minify npm packages and my node modules now has 168 directories and 1 reported vulnerability. There must be a better way. |
Been trying to get this to work with webpack, but webpack encloses everything in a module scope and nothing is available from index.html. Anyone who can get the basics of combining and minifying the files in the src directory would be a big help. |
Working on bundle and es6 migration right now. and faced same problem "nothing is available from index.html". Have some ideas |
So, my idea was to create global variables and access them from bundled code. In that case index.html will look like this
@syntaxseed dunno how to sync my fork. if I could create branches in this repo it would be lot easier) |
Rewrite code to es6; change project structure syntaxseed#19
@deziev to synk your fork you have to merge or rebase @syntaxseed master branch. Here you have a more detailed tutorial: https://akrabat.com/the-beginners-guide-to-contributing-to-a-github-project/ |
You are talking about webpack but there is no webpack configuration file, or even package.json configuration file in master branch. I'd like to help, but I'm missing something here... I have some ideas to get this bundled, transpiled and minified, but also available from the global context, but if there is some work already done in this direction, would be better than starting from scratch |
@EstherAF I tried to get it working with WebPack but failed miserably. 😥 |
Minified bundle is no longer accurate. Need to configure a Babel process to minify.
Let's discuss - do we need to also transpile to ES5? What is browser support for ES6 these days?
The text was updated successfully, but these errors were encountered: