Add babel loader.

This commit is contained in:
Dannon Baker
2017-04-04 13:19:31 -04:00
parent 41a88de752
commit f31deb5286
7 changed files with 37 additions and 30 deletions
+5 -2
View File
@@ -5,12 +5,15 @@
"keywords": [
"galaxy"
],
"repository": { "type": "git",
"url": "https://github.com/galaxyproject/galaxy.git"
"repository": {
"type": "git",
"url": "https://github.com/galaxyproject/galaxy.git"
},
"license": "AFL-3.0",
"dependencies": {
"amdi18n-loader": "^0.2.0",
"babel-core": "^6.24.0",
"babel-loader": "^6.4.1",
"grunt": "^0.4.5",
"grunt-bower-install-simple": "^1.1.0",
"grunt-check-modules": "^1.0.0",
+4
View File
@@ -54,6 +54,10 @@ module.exports = {
},
module : {
loaders : [
{ test: /\.js$/,
exclude: /node_modules/,
loader: 'babel-loader',
query: { compact: false } },
],
},
resolveLoader : {
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long