Commit Graph

5 Commits

Author SHA1 Message Date
Clay Diffrient ebf63c9a60 Bump Babel to version 6
closes CNVS-29019
closes gh-817

Test Plan:
 - bundle exec rake canvas:compile_assets should compile
   /app/jsx and /specs/javascripts/jsx properly
 - Automated tests should pass
 - Areas of Canvas that use JSX/ES6 should work properly such
   as Moderated Grading, Files, and the new Admin search page

Change-Id: Ic2aefbe98dd65a9b38407a68dc569e19a9e300e2
Reviewed-on: https://gerrit.instructure.com/78232
Tested-by: Jenkins
Reviewed-by: Steven Burnett <sburnett@instructure.com>
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
QA-Review: Heath Hales <hhales@instructure.com>
Product-Review: Clay Diffrient <cdiffrient@instructure.com>
2016-07-15 21:55:10 +00:00
Ethan Vizitei 12286dbf86 production source maps for webpack
closes CNVS-28624

TEST PLAN:
 1) use webpack in beta
 2) there are source maps

Change-Id: I6b4380056c6c65f673b6cd149c5a7fc9de739411
Reviewed-on: https://gerrit.instructure.com/76768
Reviewed-by: Ryan Shaw <ryan@instructure.com>
Tested-by: Jenkins
Product-Review: Ethan Vizitei <evizitei@instructure.com>
QA-Review: Ethan Vizitei <evizitei@instructure.com>
2016-04-11 21:50:16 +00:00
Ethan Vizitei ec1f62517d fix webpack caching babel issue for build
fixes CNVS-27514

TEST PLAN:
 1) warmfix
 2) webpack should work in beta

Change-Id: I31fcea9571d3ff9761d96feb4a8a1d9136886a5a
Reviewed-on: https://gerrit.instructure.com/76766
Reviewed-by: Ryan Shaw <ryan@instructure.com>
Tested-by: Jenkins
Product-Review: Ethan Vizitei <evizitei@instructure.com>
QA-Review: Ethan Vizitei <evizitei@instructure.com>
2016-04-11 17:53:01 +00:00
Jon Jensen 8042bfc4f8 spec: don't uglify webpack js in CI, don't do dev build
fixes SD-901

uglify slows things down considerably, and dev build wasn't needed since
we always set USE_OPTIMIZED_JS=true in jenkins land

Change-Id: I3d71b9fb6f00f9bcd4003edfd5d2b2fe3a83d441
Reviewed-on: https://gerrit.instructure.com/75216
Tested-by: Jenkins
Product-Review: Jon Jensen <jon@instructure.com>
QA-Review: Jon Jensen <jon@instructure.com>
Reviewed-by: Landon Wilkins <lwilkins@instructure.com>
2016-03-25 19:44:20 +00:00
Ryan Shaw ad34b40c32 make it so you can use es6 in the webpack config stuff
refs: CNVS-27679

if you name your config files *.config.babel.js
webpack knows to run them through babel. this change
makes it so use es6 stuff in the webpack.config files
(including everything in /frontend_build)

test plan:
run webpack
it should work

Change-Id: I6ceda3386227c30e106339f744f18dc61bbab54b
Reviewed-on: https://gerrit.instructure.com/73241
Tested-by: Jenkins
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
Reviewed-by: Ethan Vizitei <evizitei@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
2016-03-11 21:18:43 +00:00