Pass gems/plugins/x/app/coffeescripts/**/*.js through babel
This makes it so you can drop-in replace .coffee files in plugins With .js files, without having to move them from app/coffeescripts/ To app/jsx Test plan: * with this applied, my commit that decaffeinates migration_tool should pass Change-Id: I06800406f497ec54a5f0294050fabf87755022fe Reviewed-on: https://gerrit.instructure.com/191742 Tested-by: Jenkins Reviewed-by: Rob Orton <rob@instructure.com> QA-Review: Rob Orton <rob@instructure.com> Product-Review: Rob Orton <rob@instructure.com>
This commit is contained in:
parent
cfc2984b48
commit
18dc60278b
|
@ -169,7 +169,7 @@ module.exports = {
|
|||
path.resolve(__dirname, '../app/coffeescripts'),
|
||||
path.resolve(__dirname, '../spec/javascripts/jsx'),
|
||||
path.resolve(__dirname, '../spec/coffeescripts'),
|
||||
/gems\/plugins\/.*\/app\/jsx\//
|
||||
/gems\/plugins\/.*\/app\/(jsx|coffeescripts)\//
|
||||
],
|
||||
exclude: [
|
||||
path.resolve(__dirname, '../public/javascripts/translations'),
|
||||
|
|
Loading…
Reference in New Issue