Skip to content
Permalink
Browse files
chore: bump deps
  • Loading branch information
ktsn committed Oct 9, 2018
1 parent d570fa3 commit 6ec2f5fe5cbf638851852b56398355ed2865331e
Showing with 4,563 additions and 7,065 deletions.
  1. +7 −1 example/.babelrc
  2. +2 −2 example/tsconfig.json
  3. +15 −13 example/webpack.config.js
  4. +0 −7,022 package-lock.json
  5. +16 −15 package.json
  6. +0 −8 src/globals.d.ts
  7. +3 −3 test/.babelrc
  8. +2 −1 test/webpack.config.js
  9. +4,518 −0 yarn.lock
@@ -1,3 +1,9 @@
{
"plugins": ["transform-vue-jsx"]
"presets": [
["@babel/env", { "modules": false }]
],
"plugins": [
"@babel/syntax-jsx",
"transform-vue-jsx"
]
}
@@ -1,9 +1,9 @@
{
"compilerOptions": {
"target": "es5",
"target": "esnext",
"lib": [
"dom",
"es2015"
"esnext"
],
"module": "es2015",
"moduleResolution": "node",
@@ -1,4 +1,7 @@
const VueLoaderPlugin = require('vue-loader/lib/plugin')

module.exports = {
mode: 'development',
entry: './example/example.ts',
output: {
path: __dirname,
@@ -13,21 +16,17 @@ module.exports = {
module: {
rules: [
{
test: /\.ts$/,
exclude: /node_modules/,
use: {
loader: 'ts-loader',
options: {
appendTsSuffixTo: [/\.vue$/]
}
}
},
{
test: /\.tsx$/,
test: /\.tsx?$/,
exclude: /node_modules/,
use: [
'babel-loader',
'ts-loader'
{
loader: 'ts-loader',
options: {
appendTsSuffixTo: [/\.vue$/],
appendTsxSuffixTo: [/\.vue$/]
}
}
]
},
{
@@ -36,5 +35,8 @@ module.exports = {
}
]
},
devtool: 'source-map'
devtool: 'source-map',
plugins: [
new VueLoaderPlugin()
]
}

0 comments on commit 6ec2f5f

Please sign in to comment.