Skip to content

Commit

Permalink
[uiFramework/docSite] reuse kibana babel config (#11688)
Browse files Browse the repository at this point in the history
(cherry picked from commit ff87098)
  • Loading branch information
spalger committed May 10, 2017
1 parent b28be0c commit 519a47c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@
"devDependencies": {
"@elastic/eslint-config-kibana": "0.5.0",
"@elastic/eslint-plugin-kibana-custom": "1.0.3",
"@spalger/babel-presets": "0.3.2",
"angular-mocks": "1.4.7",
"auto-release-sinon": "1.0.3",
"babel-eslint": "6.1.2",
Expand Down
3 changes: 0 additions & 3 deletions ui_framework/.babelrc

This file was deleted.

4 changes: 2 additions & 2 deletions ui_framework/doc_site/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const path = require('path');

const babelPreset = require('../../src/optimize/babel/helpers').webpackPreset;
module.exports = {
devtool: 'source-map',

Expand Down Expand Up @@ -34,7 +34,7 @@ module.exports = {
loader: 'babel',
exclude: /node_modules/,
query: {
presets: ['es2015', 'react'],
presets: [babelPreset],
},
}, {
test: /\.scss$/,
Expand Down

0 comments on commit 519a47c

Please sign in to comment.