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