Change webpack destination
This commit is contained in:
@@ -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: [{
|
||||||
|
|||||||
@@ -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
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user