feat: improved event semantics, finally think i have a permanent solution to urls and file paths and dev servers....
This commit is contained in:
@@ -50,14 +50,14 @@ const webpackConfig = {
|
||||
|
||||
output: {
|
||||
filename: "bundle.js",
|
||||
publicPath: "./static/",
|
||||
publicPath: `${config.baseUrl}/static/`,
|
||||
path: path.resolve(__dirname, "./public/static"),
|
||||
},
|
||||
|
||||
devServer: {
|
||||
static: {
|
||||
directory: path.join(__dirname, "./public"),
|
||||
publicPath: "/",
|
||||
publicPath: `${config.baseUrl}/`,
|
||||
},
|
||||
hot: true,
|
||||
compress: true,
|
||||
|
||||
Reference in New Issue
Block a user