Change webpack destination

This commit is contained in:
franzz committed 2026-05-10 19:03:42 +02:00
1 parent 71e9c1a45a
commit 8385c85820
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ module.exports = (env, argv) => {
output: { output: {
path: DIST, path: DIST,
filename: '[name].js', filename: '[name].js',
publicPath: '../dist/' publicPath: './'
}, },
module: { module: {
rules: [{ rules: [{
+1 -1
View File
@@ -188,7 +188,7 @@ class Spot extends Main
self::MAIN_PAGE, self::MAIN_PAGE,
array( array(
'language' => $this->oLang->getLanguage(), 'language' => $this->oLang->getLanguage(),
'filepath_js' => self::addTimestampToFilePath('../dist/app.js'), 'filepath_js' => self::addTimestampToFilePath('app.js'),
), ),
$asPages $asPages
); );