Skip to content

Commit

Permalink
fix(): Back with babel loaders
Browse files Browse the repository at this point in the history
  • Loading branch information
Ridermansb committed Oct 6, 2016
1 parent 15a20e1 commit 0e7342c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function plugin (Vue, {
}
}

plugin.version = '0.0.4'
plugin.version = '0.0.6'

export default plugin

Expand Down
15 changes: 15 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,21 @@ module.exports = {
loader: 'standard',
exclude: /(node_modules)/
}
],
loaders: [
{
test: /\.js$/,
include: [
path.resolve(__dirname, 'src')
],
exclude: [
path.resolve(__dirname, 'node_modules')
],
loader: 'babel',
query: {
presets: [ 'es2015' ]
}
}
]
}
}

0 comments on commit 0e7342c

Please sign in to comment.