Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure Ember app build targets #57

Open
3 tasks
0xadada opened this issue Nov 2, 2017 · 0 comments
Open
3 tasks

configure Ember app build targets #57

0xadada opened this issue Nov 2, 2017 · 0 comments
Assignees
Milestone

Comments

@0xadada
Copy link
Member

0xadada commented Nov 2, 2017

Configure Ember build targets such that the build is slim and optimized for the proper set of browsers to support.

In {{configure/targets.js}}, Ember will use Babel to transpile code for browsers listed in the targets array.

h2. Supported list

browserl.ist/?q=>+1.5%25+in+US
> 1.5% in US

Tasks

  • Determine optimal set of browsers to support
  • Update testem.js to test supported browsers
  • Update Browser-Support statement

Testem.js

const chromeArgs = [
  '--disable-gpu',
  '--headless',
  '--remote-debugging-port=9222',
  '--window-size=1024,768'
];

module.exports = {
  test_page: 'tests/index.html?hidepassed',
  disable_watching: true,
  launch_in_ci: [
    'Chrome'
  ],
  launch_in_dev: [
    'Chrome',
    'Chrome Canary',
    'Firefox',
    'Safari'
  ],
  'browser_args': {
    'Chrome': chromeArgs,
    'Chrome Canary': chromeArgs,
    'Firefox': [
      '-headless', /* headless available on v55+ on Linux, 56+ on Windows/Mac */
      '--window-size=1024,768'
    ]
  }
};
@0xadada 0xadada added this to the v1.0 milestone Nov 2, 2017
@0xadada 0xadada self-assigned this Nov 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant