File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,11 @@ import { FAVICON_DEFAULTS as favicon } from '../templates/favicon'
44import { FUSEBOX_DEFAULTS as fusebox } from '../templates/fusebox'
55
66const configPath = 'fusing-angular.json'
7- // const pkg = require(resolve('package.json'))
87
98export default function generateFngConfig ( path : string , overwrite = false ) {
109 return writeJsonFile_ (
1110 resolve ( path , configPath ) ,
1211 {
13- // version: pkg.version,
1412 favicon,
1513 fusebox,
1614 environment : {
Original file line number Diff line number Diff line change 11export const FAVICON_DEFAULTS = {
2- name : ''
2+ source : 'src/misc/logo.svg' ,
3+ output : 'src/assets/favicons' ,
4+ config : { }
35}
Original file line number Diff line number Diff line change 11import { bindCallback , Observable } from 'rxjs'
22import { FaviconConfig } from './read-config'
3+ import { resolve } from 'path'
34import * as favs from 'favicons'
45
56function callback ( config : FaviconConfig ) {
@@ -14,7 +15,7 @@ function callback(config: FaviconConfig) {
1415
1516export function rxFavicons ( config ?: FaviconConfig ) {
1617 const _config = {
17- source : 'assets/ logo.svg',
18+ source : resolve ( 'src/misc/ logo.svg') ,
1819 configuration : { } ,
1920 ...config
2021 } as FaviconConfig
You can’t perform that action at this time.
0 commit comments