So I set up a little starting project with Webpack interpreting ES6 with babel.
Im loving the way to work but I have a question. For example in this sketch:

As you can see I must prepend "p5" to all functions, since its not in the global namespace, is there a way to avoid this for the shake of cleaner and easier to write code?
So I set up a little starting project with Webpack interpreting ES6 with babel.
Im loving the way to work but I have a question. For example in this sketch:
As you can see I must prepend "p5" to all functions, since its not in the global namespace, is there a way to avoid this for the shake of cleaner and easier to write code?