File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ class Stylesheet extends Base {
4646 faPath ;
4747
4848 if ( neoConfig . useFontAwesome ) {
49- if ( neoConfig . environment === 'development' ) {
49+ if ( neoConfig . environment === 'development' || neoConfig . environment === 'dist/esm' ) {
5050 faPath = neoConfig . basePath + 'node_modules/@fortawesome/fontawesome-free/css/all.min.css'
5151 } else {
5252 faPath = neoConfig . basePath . substr ( 6 ) + 'resources/fontawesome-free/css/all.min.css'
@@ -68,7 +68,7 @@ class Stylesheet extends Base {
6868 { themes} = config ,
6969 folders = [ 'src' , ...themes ] ,
7070 env = config . environment ,
71- path = env . startsWith ( 'dist/' ) ? '' : config . appPath . includes ( 'docs' ) ? `../dist/${ env } /` : `../../dist/${ env } /` ,
71+ path = env . startsWith ( 'dist/' ) ? '' : config . appPath . includes ( 'docs' ) ? `../dist/${ env } /` : `../../dist/${ env } /` ,
7272 rootPath = config . basePath . substring ( 6 ) ;
7373
7474 document . body . classList . add ( themes [ 0 ] ) ;
You can’t perform that action at this time.
0 commit comments