Ensure that assets have the right prefix used when they're embedded in the app

This commit is contained in:
R Tyler Croy 2019-11-28 22:19:53 -08:00
parent d565f5251e
commit 238c6e1e50
No known key found for this signature in database
GPG Key ID: E5C92681BEF6CEA2
3 changed files with 3 additions and 2 deletions

2
Cargo.lock generated
View File

@ -508,7 +508,7 @@ checksum = "501266b7edd0174f8530248f87f99c88fbe60ca4ef3dd486835b8d8d53136f7f"
[[package]]
name = "kafkakitty"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"clap",
"crossbeam",

View File

@ -1,6 +1,6 @@
[package]
name = "kafkakitty"
version = "0.1.0"
version = "0.1.1"
authors = ["R. Tyler Croy <rtyler@brokenco.de>"]
edition = "2018"

View File

@ -26,6 +26,7 @@ const webpackConfig = merge(baseWebpackConfig, {
devtool: config.build.productionSourceMap ? config.build.devtool : false,
output: {
path: config.build.assetsRoot,
publicPath: '/assets/',
filename: utils.assetsPath('js/[name].[chunkhash].js'),
chunkFilename: utils.assetsPath('js/[id].[chunkhash].js')
},