Merge pull request #84 from gcoguiec/develop

Update release build to not include externals.
This commit is contained in:
Jakub
2017-04-05 14:07:40 +02:00
committed by GitHub
2 changed files with 9 additions and 1 deletions

View File

@@ -15,6 +15,10 @@ module.exports = {
libraryTarget: 'umd', libraryTarget: 'umd',
umdNamedDefine: true umdNamedDefine: true
}, },
externals: {
'vue': 'vue',
'chart.js': 'chart.js'
},
module: { module: {
preLoaders: [ preLoaders: [
{ {

View File

@@ -57,8 +57,10 @@
"prepublish": "yarn run lint && yarn run test && yarn run build" "prepublish": "yarn run lint && yarn run test && yarn run build"
}, },
"dependencies": { "dependencies": {
"lodash": "^4.17.4"
},
"peerDependencies": {
"chart.js": "^2.5.0", "chart.js": "^2.5.0",
"lodash": "^4.17.4",
"vue": "^2.2.6" "vue": "^2.2.6"
}, },
"devDependencies": { "devDependencies": {
@@ -70,6 +72,7 @@
"babel-preset-stage-2": "^6.22.0", "babel-preset-stage-2": "^6.22.0",
"babel-runtime": "^6.23.0", "babel-runtime": "^6.23.0",
"chai": "^3.5.0", "chai": "^3.5.0",
"chart.js": "^2.5.0",
"chromedriver": "^2.28.0", "chromedriver": "^2.28.0",
"connect-history-api-fallback": "^1.1.0", "connect-history-api-fallback": "^1.1.0",
"cross-env": "^3.2.4", "cross-env": "^3.2.4",
@@ -112,6 +115,7 @@
"sinon": "^2.1.0", "sinon": "^2.1.0",
"sinon-chai": "^2.9.0", "sinon-chai": "^2.9.0",
"url-loader": "^0.5.8", "url-loader": "^0.5.8",
"vue": "^2.2.6",
"vue-hot-reload-api": "^2.0.11", "vue-hot-reload-api": "^2.0.11",
"vue-html-loader": "^1.2.4", "vue-html-loader": "^1.2.4",
"vue-loader": "^11.3.4", "vue-loader": "^11.3.4",