-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
874 lines (540 loc) · 28.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
<!DOCTYPE html>
<html lang="zh-CN" data-default-color-scheme=auto>
<head>
<meta charset="UTF-8">
<link rel="apple-touch-icon" sizes="76x76" href="/img/fluid.png">
<link rel="icon" href="/img/fluid.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="theme-color" content="#2f4154">
<meta name="author" content="Crews">
<meta name="keywords" content="">
<meta property="og:type" content="website">
<meta property="og:title" content="进击的前端工程狮">
<meta property="og:url" content="http://crews.github.io/blog/index.html">
<meta property="og:site_name" content="进击的前端工程狮">
<meta property="og:locale" content="zh_CN">
<meta property="article:author" content="Crews">
<meta name="twitter:card" content="summary_large_image">
<title>进击的前端工程狮</title>
<link rel="stylesheet" href="https://lib.baomitu.com/twitter-bootstrap/4.6.1/css/bootstrap.min.css" />
<!-- 主题依赖的图标库,不要自行修改 -->
<!-- Do not modify the link that theme dependent icons -->
<link rel="stylesheet" href="//at.alicdn.com/t/font_1749284_hj8rtnfg7um.css">
<link rel="stylesheet" href="//at.alicdn.com/t/font_1736178_lbnruvf0jn.css">
<link rel="stylesheet" href="/css/main.css" />
<link id="highlight-css" rel="stylesheet" href="/css/highlight.css" />
<link id="highlight-css-dark" rel="stylesheet" href="/css/highlight-dark.css" />
<script id="fluid-configs">
var Fluid = window.Fluid || {};
Fluid.ctx = Object.assign({}, Fluid.ctx)
var CONFIG = {"hostname":"crews.github.io","root":"/","version":"1.9.0","typing":{"enable":true,"typeSpeed":70,"cursorChar":"_","loop":false,"scope":[]},"anchorjs":{"enable":true,"element":"h1,h2,h3,h4,h5,h6","placement":"left","visible":"hover","icon":""},"progressbar":{"enable":true,"height_px":3,"color":"#29d","options":{"showSpinner":false,"trickleSpeed":100}},"code_language":{"enable":true,"default":"TEXT"},"copy_btn":true,"image_caption":{"enable":true},"image_zoom":{"enable":true,"img_url_replace":["",""]},"toc":{"enable":true,"placement":"right","headingSelector":"h1,h2,h3,h4,h5,h6","collapseDepth":0},"lazyload":{"enable":true,"loading_img":"/img/loading.gif","onlypost":false,"offset_factor":2},"web_analytics":{"enable":true,"follow_dnt":true,"baidu":"e0573025d0cbd0186c86a21250f26e69","google":null,"gtag":null,"tencent":{"sid":null,"cid":null},"woyaola":null,"cnzz":1280774100,"leancloud":{"app_id":"nH7hj3REOl2YmwRYD4G0sJjh-MdYXbMMI","app_key":"GzlH8knsCkvR5vGWn3pPhj3c","server_url":null,"path":"window.location.pathname","ignore_local":false}},"search_path":"/local-search.xml"};
if (CONFIG.web_analytics.follow_dnt) {
var dntVal = navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack;
Fluid.ctx.dnt = dntVal && (dntVal.startsWith('1') || dntVal.startsWith('yes') || dntVal.startsWith('on'));
}
</script>
<script src="/js/utils.js" ></script>
<script src="/js/color-schema.js" ></script>
<meta name="generator" content="Hexo 6.0.0"></head>
<body>
<header>
<div class="header-inner" style="height: 100vh;">
<nav id="navbar" class="navbar fixed-top navbar-expand-lg navbar-dark scrolling-navbar">
<div class="container">
<a class="navbar-brand" href="/">
<strong>程序与浪漫</strong>
</a>
<button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<div class="animated-icon"><span></span><span></span><span></span></div>
</button>
<!-- Collapsible content -->
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto text-center">
<li class="nav-item">
<a class="nav-link" href="/">
<i class="iconfont icon-home-fill"></i>
首页
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/archives/">
<i class="iconfont icon-archive-fill"></i>
归档
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/categories/">
<i class="iconfont icon-category-fill"></i>
分类
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/tags/">
<i class="iconfont icon-tags-fill"></i>
标签
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/about/">
<i class="iconfont icon-user-fill"></i>
关于
</a>
</li>
<li class="nav-item" id="search-btn">
<a class="nav-link" target="_self" href="javascript:;" data-toggle="modal" data-target="#modalSearch" aria-label="Search">
<i class="iconfont icon-search"></i>
</a>
</li>
<li class="nav-item" id="color-toggle-btn">
<a class="nav-link" target="_self" href="javascript:;" aria-label="Color Toggle"> <i
class="iconfont icon-dark" id="color-toggle-icon"></i> </a>
</li>
</ul>
</div>
</div>
</nav>
<div id="banner" class="banner" parallax=true
style="background: url('/img/bg/banner.jpeg') no-repeat center center; background-size: cover;">
<div class="full-bg-img">
<div class="mask flex-center" style="background-color: rgba(0, 0, 0, 0.3)">
<div class="banner-text text-center fade-in-up">
<div class="h2">
<span id="subtitle" data-typed-text="进击的前端攻城狮"></span>
</div>
</div>
<div class="scroll-down-bar">
<i class="iconfont icon-arrowdown"></i>
</div>
</div>
</div>
</div>
</div>
</header>
<main>
<div class="container nopadding-x-md">
<div id="board"
style="margin-top: 0">
<div class="container">
<div class="row">
<div class="col-12 col-md-10 m-auto">
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2022/03/26/ast/" target="_self">
<img src="/img/post/ast.png" srcset="/img/loading.gif" lazyload alt="小知识补给包:AST抽象语法树基础">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2022/03/26/ast/" target="_self">
小知识补给包:AST抽象语法树基础
</a>
</h1>
<a class="index-excerpt" href="/2022/03/26/ast/" target="_self">
<div>
抽象语法树抽象语法树AST是什么?看维基百科中的说明 在计算机科学中,抽象语法树(Abstract Syntax Tree,AST),或简称语法树(Syntax tree),是源代码语法结构的一种抽象表示。它以树状)的形式表现编程语言的语法结构,树上的每个节点都表示源代码中的一种结构。之所以说语法是“抽象”的,是因为这里的语法并不会表示出真实语法中出现的每个细节 简单的来说就是一种标准的树形结
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-03-26 21:06" pubdate>
2022-03-26
</time>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2022/03/18/svelte/" target="_self">
<img src="/img/post/js-hook.png" srcset="/img/loading.gif" lazyload alt="「svelte」是前端排名前三的框架,你知道吗?">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2022/03/18/svelte/" target="_self">
「svelte」是前端排名前三的框架,你知道吗?
</a>
</h1>
<a class="index-excerpt" href="/2022/03/18/svelte/" target="_self">
<div>
前言可能大家对svelte这个框还比较陌生,甚至名字都没有听说过。先带大家看下官方的说法 Svelte 是一种全新的构建用户界面的方法。传统框架如 React 和 Vue 在浏览器中需要做大量的工作,而 Svelte 将这些工作放到构建应用程序的编译阶段来处理。与使用虚拟(virtual)DOM 差异对比不同。Svelte 编写的代码在应用程序的状态更改时就能像做外科手术一样更新 DOM。 大
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-03-18 22:29" pubdate>
2022-03-18
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/%E5%89%8D%E7%AB%AF%E3%80%81%E6%A1%86%E6%9E%B6/">#前端、框架</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2022/03/06/js-base/" target="_self">
<img src="/img/post/js-base.png" srcset="/img/loading.gif" lazyload alt="JS基础知识补给包">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2022/03/06/js-base/" target="_self">
JS基础知识补给包
</a>
</h1>
<a class="index-excerpt" href="/2022/03/06/js-base/" target="_self">
<div>
前言在逆向一些网站的时候,扣出来JS代码,能运行但是不知道为啥能这样跑。相信很多小伙伴有这样的疑惑,本篇文章主要讲解JavaScript里几个基础的知识点,帮助大家更好理解js代码。下面是主要内容,已经了解的同学可以不用看啦~ JavaScript原型链 函数作用域 JavaScript 原型链直接讲述概念可能会特别的抽象,这里举个例子JavaScript原型的使用场景 12345678910
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-03-06 11:00" pubdate>
2022-03-06
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/js%E9%80%86%E5%90%91/">#js逆向</a>
<a href="/tags/%E7%88%AC%E8%99%AB/">#爬虫</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2022/02/28/js-hook/" target="_self">
<img src="/img/post/svelte.png" srcset="/img/loading.gif" lazyload alt="工欲善其事必先利其器——js逆向基础知识">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2022/02/28/js-hook/" target="_self">
工欲善其事必先利其器——js逆向基础知识
</a>
</h1>
<a class="index-excerpt" href="/2022/02/28/js-hook/" target="_self">
<div>
前言这几年随着爬虫与反爬的对抗强提升,web端的js被加强了防护。想对js解密也没有以前那么简单,控制台打开,参数一看就可以开始请求接口。所以对爬虫也有一定的技术要求。这里将整理js逆向的一些方法论和技术。 总览自己的一些观点: 对于web端的反爬只要抓住请求是最后的“出口“就能顺着执行思路往回逆向。接口请求是客户端与server的交互,通过一定的参数让服务器“鉴权”通过,认可这个是一个“合法”客
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-02-28 21:36" pubdate>
2022-02-28
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/js%E9%80%86%E5%90%91/">#js逆向</a>
<a href="/tags/%E7%88%AC%E8%99%AB/">#爬虫</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2022/02/06/2022-02-06-go/" target="_self">
<img src="/img/post/go.jpeg" srcset="/img/loading.gif" lazyload alt="GO 语言初体验">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2022/02/06/2022-02-06-go/" target="_self">
GO 语言初体验
</a>
</h1>
<a class="index-excerpt" href="/2022/02/06/2022-02-06-go/" target="_self">
<div>
前言笔者是做前端开发工作的,对Js、Nodejs比较熟悉。对其他技术不熟悉但是非常愿意接触,前端构建的工具链中也逐步有其他语言的接入,比如esbuild(GO语言), swc(RUST)。率性就学习下GO语言,拓展自己的技术宽度。 GO 语言相信大家网上随便搜一下都能找到介绍GO语言的,这里我就不重复说了。 Go 语言具有很强的表达能力,它简洁、清晰而高效。得益于其并发机制, 用它编写的程序能够
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-02-06 16:00" pubdate>
2022-02-06
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/go/">#go</a>
<a href="/tags/%E7%BC%96%E7%A8%8B/">#编程</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2022/01/11/rollup-plugin/" target="_self">
<img src="/img/post/rollup.jpeg" srcset="/img/loading.gif" lazyload alt="Rollup原理分析(三)如何编写一个插件">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2022/01/11/rollup-plugin/" target="_self">
Rollup原理分析(三)如何编写一个插件
</a>
</h1>
<a class="index-excerpt" href="/2022/01/11/rollup-plugin/" target="_self">
<div>
前言当前分析的Rollup版本:2.63.0 经过Rollup源码分析(一)、(二)篇幅的学习,大家对 Rollup 基础都有一定的了解。是否对 Rollup 插件想要更深入的了解呢?比如一个插件究竟怎么写出来的,一个插件的编写思路是怎样的。今天就让我带大家来学习一下,如何编写一个 Rollup 插件。 常用插件功能对 Rollup插件编写需要对插件各个环节的钩子有所了解,才能比较好的实现插件。但
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-01-11 21:00" pubdate>
2022-01-11
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/rollup/">#rollup</a>
<a href="/tags/web%E6%89%93%E5%8C%85%E5%B7%A5%E5%85%B7%E7%B3%BB%E5%88%97/">#web打包工具系列</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2022/01/10/rollup2/" target="_self">
<img src="/img/post/rollup.jpeg" srcset="/img/loading.gif" lazyload alt="Rollup原理分析(二)插件使用">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2022/01/10/rollup2/" target="_self">
Rollup原理分析(二)插件使用
</a>
</h1>
<a class="index-excerpt" href="/2022/01/10/rollup2/" target="_self">
<div>
前言当前分析的Rollup版本:2.63.0 对于js的打包,在面对不同的业务场景时候,是需要不同的打包”姿势“。那怎么使用不同姿势呢?webpack有loader、plugin在打包的过程中处理各种各样的场景。Rollup说:我万变不离其宗,插件就能够做到相同的效果。今天这篇文章,主要讲的就是怎么使用Rollup插件。 Rollup插件的简单使用1234567891011121314151617
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-01-10 20:22" pubdate>
2022-01-10
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/rollup/">#rollup</a>
<a href="/tags/web%E6%89%93%E5%8C%85%E5%B7%A5%E5%85%B7%E7%B3%BB%E5%88%97/">#web打包工具系列</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2022/01/09/rollup/" target="_self">
<img src="/img/post/rollup.jpeg" srcset="/img/loading.gif" lazyload alt="Rollup原理分析(一)基础使用">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2022/01/09/rollup/" target="_self">
Rollup原理分析(一)基础使用
</a>
</h1>
<a class="index-excerpt" href="/2022/01/09/rollup/" target="_self">
<div>
前言当前分析的Rollup版本:2.63.0 打包工具作为前端最基础的工具之一,想必大家或多或少都会对其实现原理感兴趣。但是由于网上的资料参差不齐,学习起来非常困难,容易劝退。笔者想要通过web打包工具分析系列文章,揭秘web前端打包工具的实现原理,降低大家学习框架源码的门槛。 Rollup源码分析系列将会拆分成以下几部分 [x] Rollup的简单使用 [ ] Rollup的插件使用 [
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-01-09 14:22" pubdate>
2022-01-09
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/rollup/">#rollup</a>
<a href="/tags/web%E6%89%93%E5%8C%85%E5%B7%A5%E5%85%B7%E7%B3%BB%E5%88%97/">#web打包工具系列</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2021/06/01/js%E9%80%86%E5%90%91%E4%B9%8B%E6%97%85/" target="_self">
<img src="/img/bg/banner.webp" srcset="/img/loading.gif" lazyload alt="js逆向之旅(一)">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2021/06/01/js%E9%80%86%E5%90%91%E4%B9%8B%E6%97%85/" target="_self">
js逆向之旅(一)
</a>
</h1>
<a class="index-excerpt" href="/2021/06/01/js%E9%80%86%E5%90%91%E4%B9%8B%E6%97%85/" target="_self">
<div>
前言之前有尝试过破解极验的w值,其中有涉及到反混淆、加解密等知识,一步一步的得到最后的结果非常的有意思。最近有幸了解到《猿人学-爬虫刷题平台》网站,有许多有趣的js逆向题目。以下就是js逆向之旅(刷题之旅)。 js 混淆 - 源码乱码环境操作系统: mac语言: node编辑器:vscode 题目地址:http://match.yuanrenxue.com/match/1概述:看了下题目大概就是请
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2021-06-01 23:12" pubdate>
2021-06-01
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/js%E9%80%86%E5%90%91/">#js逆向</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<article class="col-12 col-md-12 mx-auto index-info">
<h1 class="index-header">
<a href="/2019/12/09/docker-front/" target="_self">
docker统一构建
</a>
</h1>
<a class="index-excerpt" href="/2019/12/09/docker-front/" target="_self">
<div>
前言最近工作中会遇到这样的一个问题,当有个依赖包更新,或者某些配置需要更新的时候,需要在目前处理的所有系统中一起更新,这样的工作量其实是挺繁琐的。(多个系统配置几乎一致)。所以就想着能够有方法统一这个构建环境,包依赖和webpack配置能够统一处理。 实践过程 第一步:#抽取公共配置作为配置仓库 docker-front 第二步:编写Dockerfile,以node镜像为基础,拉取配置仓库为内容的
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2019-12-09 20:14" pubdate>
2019-12-09
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/docker/">#docker</a>
<a href="/tags/%E6%9E%84%E5%BB%BA/">#构建</a>
</div>
</div>
</article>
</div>
<nav aria-label="navigation">
<span class="pagination" id="pagination">
<span class="page-number current">1</span><a class="page-number" href="/page/2/#board">2</a><a class="page-number" href="/page/3/#board">3</a><span class="space">…</span><a class="page-number" href="/page/5/#board">5</a><a class="extend next" rel="next" href="/page/2/#board"><i class="iconfont icon-arrowright"></i></a>
</span>
</nav>
</div>
</div>
</div>
</div>
</div>
<a id="scroll-top-button" aria-label="TOP" href="#" role="button">
<i class="iconfont icon-arrowup" aria-hidden="true"></i>
</a>
<div class="modal fade" id="modalSearch" tabindex="-1" role="dialog" aria-labelledby="ModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
<div class="modal-content">
<div class="modal-header text-center">
<h4 class="modal-title w-100 font-weight-bold">搜索</h4>
<button type="button" id="local-search-close" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body mx-3">
<div class="md-form mb-5">
<input type="text" id="local-search-input" class="form-control validate">
<label data-error="x" data-success="v" for="local-search-input">关键词</label>
</div>
<div class="list-group" id="local-search-result"></div>
</div>
</div>
</div>
</div>
</main>
<footer>
<div class="footer-inner">
<div class="footer-content">
<a href="https://hexo.io" target="_blank" rel="nofollow noopener"><span>Hexo</span></a> <i class="iconfont icon-love"></i> <a href="https://github.com/fluid-dev/hexo-theme-fluid" target="_blank" rel="nofollow noopener"><span>Fluid</span></a>
</div>
<div class="statistics">
<span id="leancloud-site-pv-container" style="display: none">
总访问量
<span id="leancloud-site-pv"></span>
次
</span>
<span id="leancloud-site-uv-container" style="display: none">
总访客数
<span id="leancloud-site-uv"></span>
人
</span>
</div>
<!-- cnzz Analytics Icon -->
<span id="cnzz_stat_icon_1280774100" style="display: none"></span>
</div>
</footer>
<!-- Scripts -->
<script src="https://lib.baomitu.com/nprogress/0.2.0/nprogress.min.js" ></script>
<link rel="stylesheet" href="https://lib.baomitu.com/nprogress/0.2.0/nprogress.min.css" />
<script>
NProgress.configure({"showSpinner":false,"trickleSpeed":100})
NProgress.start()
window.addEventListener('load', function() {
NProgress.done();
})
</script>
<script src="https://lib.baomitu.com/jquery/3.6.0/jquery.min.js" ></script>
<script src="https://lib.baomitu.com/twitter-bootstrap/4.6.1/js/bootstrap.min.js" ></script>
<script src="/js/events.js" ></script>
<script src="/js/plugins.js" ></script>
<script src="https://lib.baomitu.com/typed.js/2.0.12/typed.min.js" ></script>
<script>
(function (window, document) {
var typing = Fluid.plugins.typing;
var subtitle = document.getElementById('subtitle');
if (!subtitle || !typing) {
return;
}
var text = subtitle.getAttribute('data-typed-text');
typing(text);
})(window, document);
</script>
<!-- Baidu Analytics -->
<script defer>
if (!Fluid.ctx.dnt) {
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?e0573025d0cbd0186c86a21250f26e69";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
}
</script>
<!-- cnzz Analytics -->
<script defer>
if (!Fluid.ctx.dnt) {
Fluid.utils.createScript('//s4.cnzz.com/z_stat.php?id=1280774100&show=pic');
}
</script>
<script src="/js/img-lazyload.js" ></script>
<script src="/js/local-search.js" ></script>
<script defer src="/js/leancloud.js" ></script>
<!-- 主题的启动项,将它保持在最底部 -->
<!-- the boot of the theme, keep it at the bottom -->
<script src="/js/boot.js" ></script>
<noscript>
<div class="noscript-warning">博客在允许 JavaScript 运行的环境下浏览效果更佳</div>
</noscript>
</body>
</html>