You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
babel-loader loads ES6 sources and coffee-loader loads the CoffeeScript sources (i.e. form builder);
We avoid calls to t() being turned into things like _utils__WEBPACK_IMPORTED_MODULE_8__["t"]) by not importing t but using webpack.ProvidePlugin instead;
Related to kobotoolbox/form-builder-translations#3, we want to automatically extract strings from the UI code without a manual procedure that uses a desktop application. This will cut down on developer busywork and the long delay between application changes and updated translations.
babel-loader
loads ES6 sources andcoffee-loader
loads the CoffeeScript sources (i.e. form builder);t()
being turned into things like_utils__WEBPACK_IMPORTED_MODULE_8__["t"])
by not importingt
but usingwebpack.ProvidePlugin
instead;t()
;In the future, when all code is ES6 or beyond, we may be better served by https://github.com/ttag-org/ttag.
The text was updated successfully, but these errors were encountered: