Skip to content

Commit

Permalink
Revert prerender-spa-plugin because it's annoying in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumebriday committed Jun 27, 2018
1 parent dbfa7c5 commit 2669487
Show file tree
Hide file tree
Showing 3 changed files with 323 additions and 273 deletions.
6 changes: 0 additions & 6 deletions build/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ let MiniCssExtractPlugin = require('mini-css-extract-plugin')
let HtmlWebpackPlugin = require('html-webpack-plugin')
let Dotenv = require('dotenv-webpack')
let webpack = require('webpack')
let PrerenderSPAPlugin = require('prerender-spa-plugin')
let { VueLoaderPlugin } = require('vue-loader')

function resolve (dir) {
Expand Down Expand Up @@ -97,11 +96,6 @@ module.exports = {
}),
new HtmlWebpackPlugin({
template: 'index.html'
}),
new PrerenderSPAPlugin({
staticDir: resolve('dist'),
minify: true,
routes: ['/', '/login', '/register']
})
]
}
Loading

0 comments on commit 2669487

Please sign in to comment.