mirror of
https://github.com/scratchfoundation/scratch-render.git
synced 2025-08-21 02:39:21 -04:00
Use babel for ES6 / ES2015 support
This commit is contained in:
parent
f3a80c3429
commit
2c9e17d486
5 changed files with 18 additions and 4 deletions
|
@ -15,6 +15,13 @@ module.exports = {
|
|||
},
|
||||
module: {
|
||||
loaders: [
|
||||
{
|
||||
test: /\.js$/,
|
||||
loader: 'babel-loader',
|
||||
query: {
|
||||
presets: ['es2015']
|
||||
}
|
||||
},
|
||||
{
|
||||
test: /\.json$/,
|
||||
loader: 'json-loader'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue