Skip to content

Commit

Permalink
Merge pull request #900 from OpenGeoscience/use-babel
Browse files Browse the repository at this point in the history
Use babel in the build process.
  • Loading branch information
manthey authored Aug 23, 2018
2 parents 65c4132 + c303a85 commit 1ec38a4
Show file tree
Hide file tree
Showing 11 changed files with 3,921 additions and 4,210 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
### Changes

- Changed build process: optional dependencies are now included in the bundle by default (#890)
- Transpile with Babel to support old browsers and new language features (#900)

## Version 0.17.0

Expand Down
4 changes: 2 additions & 2 deletions karma-cov.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ module.exports = function (config) {
karma_config.specReporter = {suppressPassed: true, suppressSkipped: true};
karma_config.coverageReporter = {
reporters: [
{type: 'html', dir: 'dist/coverage/', subdir: subdir_name},
{type: 'cobertura', dir: 'dist/cobertura/', file: 'coverage.xml', subdir: subdir_name},
{type: 'json', dir: 'dist/coverage/json/', subdir: subdir_name},
{type: 'lcovonly', dir: 'lcov', subdir: subdir_name},
{type: 'lcovonly', dir: 'dist/coverage/lcov', subdir: subdir_name},
{type: 'text'}
]
};
karma_config.webpack.module.rules.unshift({
test: /\.js$/,
include: path.resolve('src/'),
exclude: path.resolve('src/polyfills.js'),
use: ['istanbul-instrumenter-loader']
});

Expand Down
Loading

0 comments on commit 1ec38a4

Please sign in to comment.