mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-01-11 22:40:31 +00:00
webpack dev server configured with react-router
This commit is contained in:
parent
11a7ed572b
commit
f09cb42160
1 changed files with 5 additions and 1 deletions
|
|
@ -6,7 +6,8 @@ module.exports = {
|
|||
entry: './src/index.js',
|
||||
output: {
|
||||
path: path.join(__dirname, 'dist'),
|
||||
filename: 'bundle.js'
|
||||
filename: 'bundle.js',
|
||||
publicPath: '/'
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
|
|
@ -52,6 +53,9 @@ module.exports = {
|
|||
'stremio-common': path.resolve(__dirname, 'src/common')
|
||||
}
|
||||
},
|
||||
devServer: {
|
||||
historyApiFallback: true
|
||||
},
|
||||
plugins: [
|
||||
new HtmlWebPackPlugin({
|
||||
template: './src/index.html'
|
||||
|
|
|
|||
Loading…
Reference in a new issue