-
-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unify babelrc for webpack and cli bundler. Cleaned up webpack babelrc to use same plugins as other setup. Add IE10/11 support back to webpack setup as that is what Aurelia claimed to support. closes #754, #909
- Loading branch information
Showing
7 changed files
with
13 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,20 +10,18 @@ module.exports = function(project) { | |
|
||
project.addToContent( | ||
ProjectItem.resource('.eslintrc.json', 'content/eslintrc.json'), | ||
ProjectItem.resource('.babelrc.js', 'content/babelrc.webpack.js'), | ||
ProjectItem.resource('.babelrc', 'content/babelrc.webpack') | ||
ProjectItem.resource('.babelrc.js', 'content/babelrc.js'), | ||
ProjectItem.resource('.babelrc', 'content/babelrc') | ||
).addToDevDependencies( | ||
'[email protected]', | ||
'[email protected]', | ||
'babel-loader', | ||
'babel-core', | ||
'babel-plugin-syntax-flow', | ||
'babel-plugin-transform-class-properties', | ||
'babel-plugin-transform-decorators-legacy', | ||
'babel-plugin-transform-flow-strip-types', | ||
'babel-polyfill', | ||
'babel-preset-env', | ||
'babel-preset-es2015', | ||
'babel-preset-stage-1', | ||
'babel-register', | ||
'babel-plugin-istanbul' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,5 @@ | ||
{ | ||
"sourceMap": true, | ||
"sourceRoot": "src", | ||
"moduleIds": false, | ||
"comments": false, | ||
"compact": false, | ||
"code": true, | ||
"presets": [ | ||
["es2015", {"loose": true}], | ||
"stage-1" | ||
], | ||
"plugins": [ | ||
"syntax-flow", | ||
"transform-decorators-legacy", | ||
"transform-flow-strip-types" | ||
"./.babelrc.js" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters