aboutsummaryrefslogtreecommitdiffstats
path: root/gulpfile.babel.js
diff options
context:
space:
mode:
Diffstat (limited to 'gulpfile.babel.js')
-rw-r--r--gulpfile.babel.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/gulpfile.babel.js b/gulpfile.babel.js
index 21b2e3d3b..8f24775be 100644
--- a/gulpfile.babel.js
+++ b/gulpfile.babel.js
@@ -33,7 +33,7 @@ const getTargetEnv = isDevBuild ? 'development' : 'production';
33const tsProject = ts.createProject('tsconfig.json'); 33const tsProject = ts.createProject('tsconfig.json');
34 34
35const styleConfig = Object.keys(rawStyleConfig).map(key => { 35const styleConfig = Object.keys(rawStyleConfig).map(key => {
36 const isHex = /^#[0-9A-F]{6}$/i.test(rawStyleConfig[key]); 36 const isHex = /^#[\da-f]{6}$/i.test(rawStyleConfig[key]);
37 return { 37 return {
38 [`$raw_${kebabCase(key)}`]: isHex 38 [`$raw_${kebabCase(key)}`]: isHex
39 ? hexRgb(rawStyleConfig[key], { format: 'array' }).splice(0, 3).join(',') 39 ? hexRgb(rawStyleConfig[key], { format: 'array' }).splice(0, 3).join(',')
@@ -151,7 +151,7 @@ export function mvLernaPackages() {
151 151
152export function mvPostinstallScript() { 152export function mvPostinstallScript() {
153 return gulp 153 return gulp
154 .src(['./scripts/postinstall.js']) 154 .src(['./scripts/postinstall.ts'])
155 .pipe(gulp.dest(`${paths.dest}/scripts`)); 155 .pipe(gulp.dest(`${paths.dest}/scripts`));
156} 156}
157 157