Webpack doesn't support browser.json - hence created a component-browser.js to run required js files.
~Upgraded eslint-config-ebay - it was complaining about component.js. After the upgrade, it complained about using var and arrow functions in other files. Suppressed them for now - since UglifyJs doesn't support ES6. Will send a follow-up PR to fix those.~
Update: Tested this in lasso app as well - works fine there.
Update 2: Reverted back the eslint change, to keep the PR small. Created an issue to upgrade eslint and replace UglifyJs with Terser. #51
Webpack doesn't support
browser.json
- hence created acomponent-browser.js
to run requiredjs
files.~Upgraded
eslint-config-ebay
- it was complaining aboutcomponent.js
. After the upgrade, it complained about usingvar
and arrow functions in other files. Suppressed them for now - since UglifyJs doesn't support ES6. Will send a follow-up PR to fix those.~Update: Tested this in lasso app as well - works fine there.
Update 2: Reverted back the eslint change, to keep the PR small. Created an issue to upgrade eslint and replace UglifyJs with Terser. #51