Fix CSS build artifacts at wrong directory

Now it uses the root build directory instead of public/build.

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
This commit is contained in:
Maurício Meneghini Fauth 2024-08-09 14:05:24 -03:00
parent ddd3d98559
commit ec6db6b516
No known key found for this signature in database
GPG Key ID: 6A16FD38AFC89CC8
2 changed files with 6 additions and 7 deletions

1
.gitignore vendored
View File

@ -61,7 +61,6 @@ cache.properties
phpstan.neon
# Infection
infection.json5
/public/build/
/js/
/setup/
/themes/

View File

@ -186,15 +186,15 @@ module.exports = [
mode: 'none',
devtool: 'source-map',
entry: {
'themes/bootstrap/css/theme': publicPath + '/themes/bootstrap/scss/theme.scss',
'themes/metro/css/theme': publicPath + '/themes/metro/scss/theme.scss',
'themes/original/css/theme': publicPath + '/themes/original/scss/theme.scss',
'themes/pmahomme/css/theme': publicPath + '/themes/pmahomme/scss/theme.scss',
'setup/styles': publicPath + '/setup/scss/styles.scss',
'public/themes/bootstrap/css/theme': publicPath + '/themes/bootstrap/scss/theme.scss',
'public/themes/metro/css/theme': publicPath + '/themes/metro/scss/theme.scss',
'public/themes/original/css/theme': publicPath + '/themes/original/scss/theme.scss',
'public/themes/pmahomme/css/theme': publicPath + '/themes/pmahomme/scss/theme.scss',
'public/setup/styles': publicPath + '/setup/scss/styles.scss',
},
output: {
filename: 'build/css/[name].js',
path: publicPath,
path: rootPath,
},
module: {
rules: [