discourse/app/assets/javascripts/discourse
Robin Ward a3f0543f99
Support for transpiling `.js` files (#9160)
* Remove some `.es6` from comments where it does not matter

* Use a post processor for transpilation

This will allow us to eventually use the directory structure to
transpile rather than the extension.

* FIX: Some errors and clean up in confirm-new-email

It would throw an error if the webauthn element wasn't present.
Also I changed things so that no-module is not explicitly
referenced.

* Remove `no-module`

Instead we allow a magic comment: `// discourse-skip-module` to prevent
the asset pipeline from creating a module.

* DEV: Enable babel transpilation based on directory

If it's in `app/assets/javascripts/dicourse` it will be transpiled
even without the `.es6` extension.

* REFACTOR: Remove Tilt/ES6ModuleTranspiler
2020-03-11 09:43:55 -04:00
..
adapters FIX: Use new tag routes (#8683) 2020-01-21 19:23:08 +02:00
components DEV: enforces ember-template-lint: no-triple-curlies (#9165) 2020-03-11 09:23:10 +01:00
controllers Support for transpiling `.js` files (#9160) 2020-03-11 09:43:55 -04:00
helpers DEV: enforces ember-template-lint: no-triple-curlies (#9165) 2020-03-11 09:23:10 +01:00
initializers Merge imports from the same module (#9144) 2020-03-09 17:38:37 +01:00
lib Support for transpiling `.js` files (#9160) 2020-03-11 09:43:55 -04:00
mixins DEV: Replace save-button partial with a component (#9066) 2020-03-10 09:37:54 -04:00
models Merge imports from the same module (#9144) 2020-03-09 17:38:37 +01:00
pre-initializers DEV: Clean up Ember imports (#8979) 2020-03-06 23:49:28 +01:00
raw-views DEV: Fix function prototype deprecations (#8681) 2020-01-16 18:56:53 +01:00
routes Merge imports from the same module (#9144) 2020-03-09 17:38:37 +01:00
services Merge imports from the same module (#9144) 2020-03-09 17:38:37 +01:00
templates FIX: Various fixes to support posts with no user (#8877) 2020-03-11 14:03:20 +02:00
widgets FIX: Various fixes to support posts with no user (#8877) 2020-03-11 14:03:20 +02:00
mapping-router.js.es6 DEV: Clean up Ember imports (#8979) 2020-03-06 23:49:28 +01:00