mirror of
https://github.com/feathericons/feather.git
synced 2023-08-10 21:13:24 +03:00
chore: Add comments to build script
This commit is contained in:
parent
e697b3a927
commit
a3527829b8
10
bin/build.sh
10
bin/build.sh
@ -1,15 +1,25 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Process SVG files
|
||||
./node_modules/.bin/babel-node bin/process-svgs.js
|
||||
|
||||
# Create dist directory
|
||||
./node_modules/.bin/rimraf dist
|
||||
mkdir dist
|
||||
|
||||
# Build icons.json
|
||||
./node_modules/.bin/babel-node bin/build-icons-json.js
|
||||
|
||||
# Build SVG sprite
|
||||
./node_modules/.bin/babel-node bin/build-sprite.js
|
||||
|
||||
# Create dist/icons directory
|
||||
./node_modules/.bin/rimraf dist/icons
|
||||
mkdir dist/icons
|
||||
|
||||
# Build SVG icons
|
||||
./node_modules/.bin/babel-node bin/build-svgs.js
|
||||
|
||||
# Build JavaScript library
|
||||
./node_modules/.bin/webpack --output-filename feather.js
|
||||
./node_modules/.bin/webpack --output-filename feather.min.js -p
|
||||
|
Loading…
Reference in New Issue
Block a user