mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
build: fix paths
This commit is contained in:
parent
03b5b2bf65
commit
1d16f3e307
2 changed files with 3 additions and 2 deletions
|
|
@ -7,7 +7,7 @@
|
|||
"license": "MIT",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"postinstall": "node scripts/generate-octicons",
|
||||
"postinstall": "node scripts/generate-octicon.js",
|
||||
"start": "webpack --watch",
|
||||
"postversion": "node scripts/version.js",
|
||||
"build": "NODE_ENV=production webpack && npm run postbuild",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
const octicons = require('octicons')
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
|
||||
const pathToIconsFolder = `${__dirname}/src/assets/icons/octicons`
|
||||
const pathToIconsFolder = path.resolve(__dirname, `../src/assets/icons/octicons`)
|
||||
|
||||
function generateIconSVGFiles() {
|
||||
Object.values(octicons).forEach(icon => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue