fix($compile): prevent babel from transpiling non-module scripts in default_theme's assets

Transpiling the assets in the default theme was causing `this` to be transpiled to `undefined`. The
Babel config now ignores those files.

888
This commit is contained in:
Jean-Luc Martin 2017-08-21 17:11:41 -04:00 committed by Tom MacWright
parent 1ba5f03ad2
commit 1286a1ff87

View File

@ -1,4 +1,7 @@
{
"presets": ["es2015", "stage-0", "flow"],
"plugins": ["syntax-async-functions"]
"plugins": ["syntax-async-functions"],
"ignore": [
"**/default_theme/assets/*"
]
}