2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-22 08:10:34 +03:00

feat: add browser build without ssr code

This commit is contained in:
pimlie
2019-02-11 12:00:11 +01:00
parent a4ca39bfef
commit 2862a5be8b
7 changed files with 90 additions and 50 deletions
+2 -1
View File
@@ -14,7 +14,7 @@ const banner = `/**
`.replace(/ {4}/gm, '').trim()
const baseConfig = {
input: 'src/index.js',
input: 'src/browser.js',
output: {
file: pkg.web,
format: 'umd',
@@ -44,6 +44,7 @@ export default [{
]
}, {
...baseConfig,
input: 'src/index.js',
output: {
...baseConfig.output,
file: pkg.main,