Change webpack destination
This commit is contained in:
@@ -24,7 +24,7 @@ module.exports = (env, argv) => {
|
||||
output: {
|
||||
path: DIST,
|
||||
filename: '[name].js',
|
||||
publicPath: '../dist/'
|
||||
publicPath: './'
|
||||
},
|
||||
module: {
|
||||
rules: [{
|
||||
|
||||
@@ -188,7 +188,7 @@ class Spot extends Main
|
||||
self::MAIN_PAGE,
|
||||
array(
|
||||
'language' => $this->oLang->getLanguage(),
|
||||
'filepath_js' => self::addTimestampToFilePath('../dist/app.js'),
|
||||
'filepath_js' => self::addTimestampToFilePath('app.js'),
|
||||
),
|
||||
$asPages
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user