Skip to content

Commit 587b800

Browse files
committed
Added a separate dist script
1 parent 0554e8a commit 587b800

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"lint": "eslint --config=./.eslintrc components",
99
"pages": "webpack --config webpack.config.github.js",
1010
"compile": "scripts/compile",
11+
"dist": "scripts/dist",
1112
"test": "scripts/test --single-run",
1213
"postinstall": "node scripts/postinstall",
1314
"icons": "node scripts/inline-icons.js",

scripts/compile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,5 @@ rm -rf lib/
44
mkdir -p lib/
55

66
BABEL="babel -d lib/ components/"
7-
BUILD="webpack --devtool source-map --config webpack.config.build.js"
87

98
eval $BABEL
10-
#eval $BUILD
11-
#eval "MINIFY=1 $BUILD"

scripts/dist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
BUILD="webpack --devtool source-map --config webpack.config.build.js"
2+
3+
eval $BUILD
4+
eval "MINIFY=1 $BUILD"

0 commit comments

Comments
 (0)