mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 08:20:13 +01:00
fix(webpack): correct relative base url to work inside a folder
This commit is contained in:
parent
4ce58eafcb
commit
525d3444fe
2 changed files with 3 additions and 2 deletions
|
|
@ -22,7 +22,8 @@ const METADATA = webpackMerge(commonConfig.metadata, {
|
||||||
host: HOST,
|
host: HOST,
|
||||||
port: PORT,
|
port: PORT,
|
||||||
ENV: ENV,
|
ENV: ENV,
|
||||||
HMR: false
|
HMR: false,
|
||||||
|
baseUrl: ''
|
||||||
});
|
});
|
||||||
|
|
||||||
module.exports = webpackMerge(commonConfig, {
|
module.exports = webpackMerge(commonConfig, {
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ $large-card-height: 974px;
|
||||||
$default-animation-duration: 0.2s;
|
$default-animation-duration: 0.2s;
|
||||||
$default-animation-style: ease-out;
|
$default-animation-style: ease-out;
|
||||||
|
|
||||||
$assets-root: '../assets/';
|
$assets-root: 'assets/';
|
||||||
$images-root: $assets-root + 'img/';
|
$images-root: $assets-root + 'img/';
|
||||||
$fonts-root: $assets-root + 'fonts/';
|
$fonts-root: $assets-root + 'fonts/';
|
||||||
$font-thin: 100;
|
$font-thin: 100;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue