exclude vue from build

This commit is contained in:
Philipp Kühn 2018-08-22 10:17:09 +02:00
parent 6a42cd4c0e
commit c0e08fef40
3 changed files with 7 additions and 6 deletions

View File

@ -13,14 +13,15 @@ export default {
}, },
sourcemap: true, sourcemap: true,
plugins: [ plugins: [
resolve(),
cjs(),
vue({ vue({
css: true, css: true,
compileTemplate: true, compileTemplate: true,
}), }),
cjs(),
buble({ buble({
objectAssign: 'Object.assign', objectAssign: 'Object.assign',
}), }),
resolve(),
], ],
} external: ['vue'],
}

View File

@ -1,6 +1,6 @@
{ {
"name": "tiptap", "name": "tiptap",
"version": "0.1.2", "version": "0.1.3",
"description": "A rich-text editor for Vue.js", "description": "A rich-text editor for Vue.js",
"license": "MIT", "license": "MIT",
"main": "dist/tiptap.min.js", "main": "dist/tiptap.min.js",
@ -81,7 +81,7 @@
"vue": "^2.5.17", "vue": "^2.5.17",
"vue-loader": "^15.2.4", "vue-loader": "^15.2.4",
"vue-style-loader": "^4.1.0", "vue-style-loader": "^4.1.0",
"vue-template-compiler": "^2.5.13", "vue-template-compiler": "^2.5.17",
"webpack": "^4.15.1", "webpack": "^4.15.1",
"webpack-dev-middleware": "^3.1.3", "webpack-dev-middleware": "^3.1.3",
"webpack-hot-middleware": "^2.22.2", "webpack-hot-middleware": "^2.22.2",

View File

@ -8724,7 +8724,7 @@ vue-style-loader@^4.1.0:
hash-sum "^1.0.2" hash-sum "^1.0.2"
loader-utils "^1.0.2" loader-utils "^1.0.2"
vue-template-compiler@^2.5.13: vue-template-compiler@^2.5.17:
version "2.5.17" version "2.5.17"
resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.5.17.tgz#52a4a078c327deb937482a509ae85c06f346c3cb" resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.5.17.tgz#52a4a078c327deb937482a509ae85c06f346c3cb"
dependencies: dependencies: