Miscelaneous fixes for WP
This commit is contained in:
parent
91cf735646
commit
ea923053eb
5 changed files with 13 additions and 7 deletions
|
@ -106,6 +106,7 @@ const cssLoaders = [
|
|||
];
|
||||
|
||||
module.exports = {
|
||||
target: 'web',
|
||||
mode: process.env.NODE_ENV,
|
||||
devtool: isProduction ? false : 'inline-source-map',
|
||||
performance: {
|
||||
|
@ -201,7 +202,7 @@ module.exports = {
|
|||
},
|
||||
devServer: {
|
||||
contentBase: path.join(__dirname, 'public'),
|
||||
publicPath: '/assets/',
|
||||
publicPath: _.get(process.env, 'PUBLIC_PATH', '') + '/assets/',
|
||||
allowedHosts: [
|
||||
'.pterodactyl.test',
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue