Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas CASTELLY committed Oct 14, 2019
1 parent def1c23 commit 88d81d9
Show file tree
Hide file tree
Showing 7 changed files with 3,761 additions and 2,774 deletions.
17 changes: 0 additions & 17 deletions .babelrc

This file was deleted.

17 changes: 17 additions & 0 deletions .babelrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module.exports = {
presets: [
[ '@babel/preset-env', {
targets: {
node: 10
},
modules: false,
useBuiltIns: 'entry'
} ]
],
plugins: [
'@babel/plugin-proposal-object-rest-spread',
'@babel/plugin-proposal-class-properties',
'@babel/plugin-transform-flow-strip-types'
],
comments: false
}
4 changes: 3 additions & 1 deletion build/webpack.compiler.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const path = require( 'path' );
const webpack = require( 'webpack' );
const babelConfig = require( '../.babelrc' );

const VuidoVersion = require( '../package' ).version;

Expand All @@ -16,7 +17,8 @@ module.exports = {
rules: [
{
test: /\.js$/,
loader: 'babel-loader'
loader: 'babel-loader',
options: babelConfig,
}
]
},
Expand Down
4 changes: 3 additions & 1 deletion build/webpack.dom.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const path = require( 'path' );
const webpack = require( 'webpack' );
const babelConfig = require( '../.babelrc' );

const VuidoVersion = require( '../package' ).version;

Expand All @@ -17,7 +18,8 @@ module.exports = {
rules: [
{
test: /\.js$/,
loader: 'babel-loader'
loader: 'babel-loader',
options: babelConfig,
}
]
},
Expand Down
4 changes: 3 additions & 1 deletion build/webpack.runtime.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const path = require( 'path' );
const webpack = require( 'webpack' );
const babelConfig = require( '../.babelrc' );

const VuidoVersion = require( '../package' ).version;
const VueVersion = require( 'vue/package' ).version;
Expand All @@ -18,7 +19,8 @@ module.exports = {
rules: [
{
test: /\.js$/,
loader: 'babel-loader'
loader: 'babel-loader',
options: babelConfig,
}
]
},
Expand Down
Loading

0 comments on commit 88d81d9

Please sign in to comment.