Skip to content

Commit ec6db6b

Browse files
committed
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 <[email protected]>
1 parent ddd3d98 commit ec6db6b

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ cache.properties
6161
phpstan.neon
6262
# Infection
6363
infection.json5
64-
/public/build/
6564
/js/
6665
/setup/
6766
/themes/

webpack.config.cjs

+6-6
Original file line numberDiff line numberDiff line change
@@ -186,15 +186,15 @@ module.exports = [
186186
mode: 'none',
187187
devtool: 'source-map',
188188
entry: {
189-
'themes/bootstrap/css/theme': publicPath + '/themes/bootstrap/scss/theme.scss',
190-
'themes/metro/css/theme': publicPath + '/themes/metro/scss/theme.scss',
191-
'themes/original/css/theme': publicPath + '/themes/original/scss/theme.scss',
192-
'themes/pmahomme/css/theme': publicPath + '/themes/pmahomme/scss/theme.scss',
193-
'setup/styles': publicPath + '/setup/scss/styles.scss',
189+
'public/themes/bootstrap/css/theme': publicPath + '/themes/bootstrap/scss/theme.scss',
190+
'public/themes/metro/css/theme': publicPath + '/themes/metro/scss/theme.scss',
191+
'public/themes/original/css/theme': publicPath + '/themes/original/scss/theme.scss',
192+
'public/themes/pmahomme/css/theme': publicPath + '/themes/pmahomme/scss/theme.scss',
193+
'public/setup/styles': publicPath + '/setup/scss/styles.scss',
194194
},
195195
output: {
196196
filename: 'build/css/[name].js',
197-
path: publicPath,
197+
path: rootPath,
198198
},
199199
module: {
200200
rules: [

0 commit comments

Comments
 (0)