mirror of
https://github.com/opensupports/opensupports.git
synced 2025-07-27 15:54:23 +02:00
Add webpack publicPath
This commit is contained in:
parent
b81a28114f
commit
596aaf6a7f
@ -23,6 +23,7 @@ const config = env => {
|
||||
output: {
|
||||
path: BUILD_DIR,
|
||||
filename: '[name].js',
|
||||
publicPath: '/'
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
@ -78,6 +79,7 @@ const config = env => {
|
||||
plugins: [
|
||||
new htmlWebpackPlugin({
|
||||
template: APP_DIR + '/index.html',
|
||||
publicPath: '/'
|
||||
}),
|
||||
new webpack.HotModuleReplacementPlugin(),
|
||||
new webpack.DefinePlugin({
|
||||
|
Loading…
x
Reference in New Issue
Block a user