faustinoaq changed the topic of #amber to: Welcome to Amber Framework community! | https://amberframework.org | Developer happiness, productivity and bare metal performance | GH: https://github.com/amberframework | Docs: https://docs.amberframework.org | Gitter: https://gitter.im/amberframework/amber | IRC Logger: https://irclog.whitequark.org/amber | Amber::Server.start
_whitelogger has joined #amber
<FromGitter> <damianham> @Jens0512 if you are starting out with a new application created with 'amber new myapp' then everything should be setup for webpack to bundle all your ES6 javascript code into public/dist/main.bundle.js. Webpack uses Babel to transform all javascript from ES6 (including the Amber class in lib/amber/assets/js/amber.js) to ES5. lib/amber/assets/js/amber.min.js is the transformed amber.js in ES5 format. Your code
<FromGitter> ... will work if webpack and babel are setup, as they are in a new generated app. There is no inconsistency between amber.js and amber.min.js, one is derived from the other.
<FromGitter> <Jens0512> But @damianham, I did just that I i still get this error: ⏎ ⏎ ```% amber watch``` [https://gitter.im/amberframework/amber?at=5c67f0e816e4682259b141b9]
<FromGitter> <Jens0512> And: ⏎ ⏎ ```% amber --version ⏎ Amber CLI (amberframework.org) - v0.11.3``` [https://gitter.im/amberframework/amber?at=5c67f157604f233ab61cbc28]
<FromGitter> <damianham> uhhmmm ... works for me just fine ⏎ ⏎ ```code paste, see link``` ⏎ ⏎ Do you have a global webpack installed ? [https://gitter.im/amberframework/amber?at=5c67ffdcdc3f0523ccc5c399]
<FromGitter> <silmanduin66> @damianham the same main.js as you gives me a Web pack undefined module error :'-(
<FromGitter> <Jens0512> @damianham I've no global webpack, a local one is used