Skip to content

Commit

Permalink
fix failure of importing tslib
Browse files Browse the repository at this point in the history
  • Loading branch information
mizdra committed Dec 20, 2017
1 parent 92f1b2f commit 3db81ed
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions build/webpack.dev.conf.js
Expand Up @@ -11,6 +11,7 @@ module.exports = merge(baseWebpackConfig, {
app: [
'webpack-hot-middleware/client?noInfo=true&reload=true',
'babel-polyfill',
'tslib',
'./src/main.ts'
]
},
Expand Down
1 change: 1 addition & 0 deletions build/webpack.prod.conf.js
Expand Up @@ -16,6 +16,7 @@ const webpackConfig = merge(baseWebpackConfig, {
'./lib/google-analysis.js',
'./lib/service-worker.js',
'babel-polyfill',
'tslib',
'./src/main.ts'
]
},
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -19,6 +19,7 @@
"keycode": "^2.1.9",
"muse-ui": "^2.1.0",
"scrollreveal": "^3.3.6",
"tslib": "^1.8.1",
"typescript": "^2.6.2",
"vue": "^2.4.2",
"vue-router": "^2.7.0",
Expand Down
1 change: 0 additions & 1 deletion src/main.ts
@@ -1,7 +1,6 @@
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.

import 'tslib'
import Vue from 'vue'
import VueRouter from 'vue-router'
import MuseUI from 'muse-ui'
Expand Down
4 changes: 4 additions & 0 deletions yarn.lock
Expand Up @@ -6094,6 +6094,10 @@ ts-loader@^3.2.0:
loader-utils "^1.0.2"
semver "^5.0.1"

tslib@^1.8.1:
version "1.8.1"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.8.1.tgz#6946af2d1d651a7b1863b531d6e5afa41aa44eac"

tty-browserify@0.0.0:
version "0.0.0"
resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6"
Expand Down

0 comments on commit 3db81ed

Please sign in to comment.