2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-21 03:20:33 +03:00

test: add render tests

fix: webpack dev server

chore: use eslint not prettier

unfeat: remove support for comments (its brokenn in Vue, maybe later)
This commit is contained in:
pimlie
2020-07-26 00:11:28 +02:00
parent 28d3fc1923
commit 27aaf4744a
80 changed files with 2785 additions and 12109 deletions
+3 -3
View File
@@ -16,14 +16,14 @@ app.use(
writeToDisk: true,
stats: {
colors: true,
chunks: false,
},
chunks: false
}
})
)
fs.readdirSync(__dirname)
.filter(file => file !== 'ssr')
.forEach(file => {
.forEach((file) => {
if (fs.statSync(path.join(__dirname, file)).isDirectory()) {
app.use(rewrite(`/${file}/*`, `/${file}/index.html`))
}