@cocreate/webpack 1.3.6 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/docs/index.html +337 -334
- package/package.json +1 -1
- package/prettier.config.js +16 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# [1.4.0](https://github.com/CoCreate-app/CoCreate-webpack/compare/v1.3.6...v1.4.0) (2024-11-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* pretier.config.js and file formating ([8921a99](https://github.com/CoCreate-app/CoCreate-webpack/commit/8921a99579a95ae06e1e24361cee1ac7ca6d2939))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* add prettier.config.js and format files ([924fe7f](https://github.com/CoCreate-app/CoCreate-webpack/commit/924fe7fe931802b0818496e8ac344fab5fe9fffc))
|
|
12
|
+
* add prettier.config.js and format files ([fae1d78](https://github.com/CoCreate-app/CoCreate-webpack/commit/fae1d78c9fa5cf941b24e0b0d90aa9b6c6570218))
|
|
13
|
+
|
|
1
14
|
## [1.3.6](https://github.com/CoCreate-app/CoCreate-webpack/compare/v1.3.5...v1.3.6) (2024-06-12)
|
|
2
15
|
|
|
3
16
|
|
package/docs/index.html
CHANGED
|
@@ -1,351 +1,354 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html lang="en">
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
+
<title>CoCreate-webpack Documentation | CoCreateJS</title>
|
|
8
|
+
<link
|
|
9
|
+
rel="icon"
|
|
10
|
+
type="image/png"
|
|
11
|
+
sizes="32x32"
|
|
12
|
+
href="https://cocreate.app/images/favicon.ico"
|
|
13
|
+
/>
|
|
14
|
+
<meta
|
|
15
|
+
name="description"
|
|
16
|
+
content="A convenient chain handler allows user to chain multiple components together. When one webpack is complete next one will start untill all webpack completed."
|
|
17
|
+
/>
|
|
18
|
+
<meta
|
|
19
|
+
name="keywords"
|
|
20
|
+
content="helper classes, utility classes, css framework, css library, inline style classes"
|
|
21
|
+
/>
|
|
22
|
+
<meta name="robots" content="index,follow" />
|
|
23
|
+
<meta
|
|
24
|
+
property="og:image"
|
|
25
|
+
content="https://cdn.cocreate.app/docs/webpack.png"
|
|
26
|
+
/>
|
|
23
27
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
<link
|
|
29
|
+
rel="stylesheet"
|
|
30
|
+
href="../index.css"
|
|
31
|
+
array="files"
|
|
32
|
+
object="60888216117c640e7596303f"
|
|
33
|
+
key="src"
|
|
34
|
+
type="text/css"
|
|
35
|
+
save="true"
|
|
36
|
+
/>
|
|
37
|
+
<link rel="manifest" href="/manifest.webmanifest" />
|
|
38
|
+
</head>
|
|
34
39
|
|
|
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
|
-
share-network="share"
|
|
102
|
-
title="Share on share"
|
|
103
|
-
><i src="/assets/svg/share-alt.svg"></i
|
|
104
|
-
></a>
|
|
105
|
-
</div>
|
|
106
|
-
<a
|
|
107
|
-
class="margin-right:15px"
|
|
108
|
-
share-network="share"
|
|
109
|
-
title="Share on share"
|
|
110
|
-
><i src="/assets/svg/share-alt.svg"></i
|
|
111
|
-
></a>
|
|
112
|
-
</div>
|
|
113
|
-
<a
|
|
114
|
-
href="https://github.com/CoCreate-app/CoCreate-webpack"
|
|
115
|
-
target="_blank"
|
|
116
|
-
class=""
|
|
117
|
-
><i src="/assets/svg/github.svg"></i
|
|
118
|
-
></a>
|
|
40
|
+
<body>
|
|
41
|
+
<!-- Navbar -->
|
|
42
|
+
<nav
|
|
43
|
+
class="width:100% display:flex align-items:center background:transparent padding-top:10px padding-bottom:10px"
|
|
44
|
+
content_id="content"
|
|
45
|
+
scroll="sticky-nav,"
|
|
46
|
+
scroll-up="5"
|
|
47
|
+
scroll-down="5"
|
|
48
|
+
path="../"
|
|
49
|
+
src="../components/navbar.html"
|
|
50
|
+
></nav>
|
|
51
|
+
<sidenav
|
|
52
|
+
id="menuL"
|
|
53
|
+
class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px width:300px@xl"
|
|
54
|
+
resizable
|
|
55
|
+
resize-selector="[content_id='content']"
|
|
56
|
+
resize-property="margin-left"
|
|
57
|
+
resize-value="width"
|
|
58
|
+
>
|
|
59
|
+
<menu array="files" object="603717b07de7fb350ae9fec8" key="src"></menu>
|
|
60
|
+
<div resize="right"></div>
|
|
61
|
+
</sidenav>
|
|
62
|
+
<main
|
|
63
|
+
class="padding-top:15px padding:15px@lg@xl"
|
|
64
|
+
content_id="content"
|
|
65
|
+
id="cocreate-webpack"
|
|
66
|
+
>
|
|
67
|
+
<div
|
|
68
|
+
class="display:flex flex-wrap:wrap justify-content:space-between position:relative margin:10px"
|
|
69
|
+
>
|
|
70
|
+
<div class="display:flex align-items:center">
|
|
71
|
+
<h2>CoCreate-webpack</h2>
|
|
72
|
+
</div>
|
|
73
|
+
<div
|
|
74
|
+
class="display:flex align-items:center font-size:20px position:absolute right:0 padding:5px background:white"
|
|
75
|
+
>
|
|
76
|
+
<div
|
|
77
|
+
class="display:flex align-items:center transition:0.3s padding-left:10px"
|
|
78
|
+
share-network="true"
|
|
79
|
+
share-text="A convenient chain handler allows user to chain multiple components together. When one webpack is complete next one will start untill all webpack completed."
|
|
80
|
+
share-title="CoCreate webpack"
|
|
81
|
+
share-height="600"
|
|
82
|
+
share-width="700"
|
|
83
|
+
share-media="https://cdn.cocreate.app/docs/webpack.png"
|
|
84
|
+
hover="display:block!important"
|
|
85
|
+
hover-selector=".social-networks"
|
|
86
|
+
>
|
|
87
|
+
<div class="display:none social-networks">
|
|
88
|
+
<a
|
|
89
|
+
class="margin-right:15px"
|
|
90
|
+
share-network="twitter"
|
|
91
|
+
title="Share on twitter"
|
|
92
|
+
><i src="/assets/svg/twitter.svg"></i
|
|
93
|
+
></a>
|
|
94
|
+
<a
|
|
95
|
+
class="margin-right:15px"
|
|
96
|
+
share-network="facebook"
|
|
97
|
+
title="Share on Facebook"
|
|
98
|
+
><i src="/assets/svg/facebook.svg"></i
|
|
99
|
+
></a>
|
|
100
|
+
<a
|
|
101
|
+
class="margin-right:15px"
|
|
102
|
+
share-network="instagram"
|
|
103
|
+
title="Share on instagram"
|
|
104
|
+
><i src="/assets/svg/instagram.svg"></i
|
|
105
|
+
></a>
|
|
119
106
|
</div>
|
|
107
|
+
<a
|
|
108
|
+
class="margin-right:15px"
|
|
109
|
+
share-network="share"
|
|
110
|
+
title="Share on share"
|
|
111
|
+
><i src="/assets/svg/share-alt.svg"></i
|
|
112
|
+
></a>
|
|
113
|
+
</div>
|
|
114
|
+
<a
|
|
115
|
+
class="margin-right:15px"
|
|
116
|
+
share-network="share"
|
|
117
|
+
title="Share on share"
|
|
118
|
+
><i src="/assets/svg/share-alt.svg"></i
|
|
119
|
+
></a>
|
|
120
|
+
</div>
|
|
121
|
+
<a
|
|
122
|
+
href="https://github.com/CoCreate-app/CoCreate-webpack"
|
|
123
|
+
target="_blank"
|
|
124
|
+
class=""
|
|
125
|
+
><i src="/assets/svg/github.svg"></i
|
|
126
|
+
></a>
|
|
127
|
+
</div>
|
|
120
128
|
|
|
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
|
-
|
|
129
|
+
<h1
|
|
130
|
+
class="max-width:500px margin:20px_10px line-height:1.5 font-size:16px font-weight:100"
|
|
131
|
+
>
|
|
132
|
+
A convenient chain handler allows user to chain multiple CoCreate
|
|
133
|
+
components together. When one webpack is complete next one will start.
|
|
134
|
+
The sequence goes untill all webpack completed. Grounded on Vanilla
|
|
135
|
+
javascript, easily configured using HTML5 attributes and/or JavaScript
|
|
136
|
+
API.
|
|
137
|
+
</h1>
|
|
138
|
+
<div id="webpack-section" class="display:flex flex-wrap:wrap">
|
|
139
|
+
<div
|
|
140
|
+
class="flex-grow:1 width:400px width:300px@xs padding:0px_10px margin-top:60px"
|
|
141
|
+
>
|
|
142
|
+
<div
|
|
143
|
+
id="webpack-install"
|
|
144
|
+
class="border-bottom:1px_solid_lightgrey"
|
|
145
|
+
scroll
|
|
146
|
+
scroll-intersect="color:dodgerblue"
|
|
147
|
+
scroll-selector="#webpack-install-section"
|
|
148
|
+
>
|
|
149
|
+
<span
|
|
150
|
+
class="display:flex align-items:center width:fit-content"
|
|
151
|
+
hover="display:block!important"
|
|
152
|
+
hover-selector="[href='#webpack-install']"
|
|
153
|
+
>
|
|
154
|
+
<h2 class="padding:5px_0px">Install</h2>
|
|
155
|
+
<a class="margin-left:10px display:none" href="#webpack-install"
|
|
156
|
+
><i src="/assets/svg/link.svg"></i
|
|
157
|
+
></a>
|
|
158
|
+
</span>
|
|
159
|
+
</div>
|
|
150
160
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
161
|
+
<pre><code class="language-bash">npm i @cocreate/webpack</code></pre>
|
|
162
|
+
<p class="padding:10px_0px line-height:1.5">
|
|
163
|
+
Or you can use cdn link:
|
|
164
|
+
</p>
|
|
165
|
+
<pre><code class="language-html"><script>https://cdn.cocreate.app/webpack/latest/CoCreate-webpack.min.js</script></code></pre>
|
|
156
166
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
167
|
+
<div
|
|
168
|
+
id="webpack-usage"
|
|
169
|
+
class="margin-top:80px border-bottom:1px_solid_lightgrey"
|
|
170
|
+
scroll
|
|
171
|
+
scroll-intersect="color:dodgerblue"
|
|
172
|
+
scroll-selector="#webpack-usage-section"
|
|
173
|
+
>
|
|
174
|
+
<span
|
|
175
|
+
class="display:flex align-items:center width:fit-content"
|
|
176
|
+
hover="display:block!important"
|
|
177
|
+
hover-selector="[href='#webpack-usage']"
|
|
178
|
+
>
|
|
179
|
+
<h2 class="padding:5px_0px">Usage</h2>
|
|
180
|
+
<a class="margin-left:10px display:none" href="#webpack-usage"
|
|
181
|
+
><i src="/assets/svg/link.svg"></i
|
|
182
|
+
></a>
|
|
183
|
+
</span>
|
|
184
|
+
</div>
|
|
185
|
+
<div class="">
|
|
186
|
+
<p class="padding:10px_0px line-height:1.5">
|
|
187
|
+
This is webpack usage
|
|
188
|
+
</p>
|
|
179
189
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
+
<div class="flex-grow:1 min-width:300px width:100%">
|
|
191
|
+
<pre><code class="language-html"><div></div></code></pre>
|
|
192
|
+
</div>
|
|
193
|
+
<p class="padding:10px_0px line-height:1.5">
|
|
194
|
+
This is webpack usage
|
|
195
|
+
</p>
|
|
196
|
+
<p class="padding:10px_0px line-height:1.5">
|
|
197
|
+
This is webpack usage
|
|
198
|
+
</p>
|
|
199
|
+
</div>
|
|
190
200
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
201
|
+
<div
|
|
202
|
+
id="webpack-attributes"
|
|
203
|
+
class="margin-top:80px border-bottom:1px_solid_lightgrey"
|
|
204
|
+
scroll
|
|
205
|
+
scroll-intersect="color:dodgerblue"
|
|
206
|
+
scroll-selector="#webpack-attributes-section"
|
|
207
|
+
>
|
|
208
|
+
<span
|
|
209
|
+
class="display:flex align-items:center width:fit-content"
|
|
210
|
+
hover="display:block!important"
|
|
211
|
+
hover-selector="[href='#webpack-attributes']"
|
|
212
|
+
>
|
|
213
|
+
<h2 class="padding:5px_0px">Attributes</h2>
|
|
214
|
+
<a
|
|
215
|
+
class="margin-left:10px display:none"
|
|
216
|
+
href="#webpack-attributes"
|
|
217
|
+
><i src="/assets/svg/link.svg"></i
|
|
218
|
+
></a>
|
|
219
|
+
</span>
|
|
220
|
+
</div>
|
|
209
221
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
>string</span
|
|
230
|
-
>
|
|
231
|
-
<span class="cocreate-badge warning"
|
|
232
|
-
>optional</span
|
|
233
|
-
>
|
|
234
|
-
</h4>
|
|
235
|
-
<p>webpack-attribute</p>
|
|
236
|
-
</li>
|
|
237
|
-
</ul>
|
|
238
|
-
</div>
|
|
222
|
+
<ul class="list-style-type:none">
|
|
223
|
+
<li class="padding:15px_0px border-bottom:1px_solid_lightgrey">
|
|
224
|
+
<h4>
|
|
225
|
+
<span>webpack</span>
|
|
226
|
+
<span class="cocreate-badge success">string</span>
|
|
227
|
+
<span class="cocreate-badge warning">optional</span>
|
|
228
|
+
</h4>
|
|
229
|
+
<p>webpack-attribute</p>
|
|
230
|
+
</li>
|
|
231
|
+
<li class="padding:15px_0px border-bottom:1px_solid_lightgrey">
|
|
232
|
+
<h4>
|
|
233
|
+
<span>webpack</span>
|
|
234
|
+
<span class="cocreate-badge success">string</span>
|
|
235
|
+
<span class="cocreate-badge warning">optional</span>
|
|
236
|
+
</h4>
|
|
237
|
+
<p>webpack-attribute</p>
|
|
238
|
+
</li>
|
|
239
|
+
</ul>
|
|
240
|
+
</div>
|
|
239
241
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
242
|
+
<div
|
|
243
|
+
class="flex-grow:1 width:300px padding:0px_10px margin-top:60px border-bottom:1px_solid_lightgrey"
|
|
244
|
+
>
|
|
245
|
+
<!-- SandBox -->
|
|
246
|
+
<div
|
|
247
|
+
id="webpack-demo"
|
|
248
|
+
class="border-bottom:1px_solid_lightgrey"
|
|
249
|
+
scroll
|
|
250
|
+
scroll-intersect="color:dodgerblue"
|
|
251
|
+
scroll-selector="#webpack-demo-section"
|
|
252
|
+
>
|
|
253
|
+
<span
|
|
254
|
+
class="display:flex align-items:center width:fit-content"
|
|
255
|
+
hover="display:block!important"
|
|
256
|
+
hover-selector="[href='#webpack-demo']"
|
|
257
|
+
>
|
|
258
|
+
<h2 class="padding:5px_0px">Demo</h2>
|
|
259
|
+
<a class="margin-left:10px display:none" href="#webpack-demo"
|
|
260
|
+
><i src="/assets/svg/link.svg"></i
|
|
261
|
+
></a>
|
|
262
|
+
</span>
|
|
263
|
+
</div>
|
|
261
264
|
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
265
|
+
<div class="position:sticky top:0 padding:15px_0px height:100vh">
|
|
266
|
+
<!-- SandBox -->
|
|
267
|
+
<div
|
|
268
|
+
class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px"
|
|
269
|
+
id="playground"
|
|
270
|
+
>
|
|
271
|
+
<div
|
|
272
|
+
id="demo-code"
|
|
273
|
+
resizable
|
|
274
|
+
class="position:relative height:50%"
|
|
275
|
+
>
|
|
276
|
+
<textarea
|
|
277
|
+
type="code"
|
|
278
|
+
lang="html"
|
|
279
|
+
array="demos"
|
|
280
|
+
object=""
|
|
281
|
+
key="demo"
|
|
282
|
+
save="false"
|
|
283
|
+
id="demo"
|
|
284
|
+
class="height:100% width:100% outline:none border:none resize:none padding:5px"
|
|
285
|
+
></textarea>
|
|
286
|
+
<div resize="bottom" class="background:lightgrey"></div>
|
|
287
|
+
</div>
|
|
285
288
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
289
|
+
<div
|
|
290
|
+
id="demo-preview"
|
|
291
|
+
class="position:relative overflow:auto background-color:white"
|
|
292
|
+
>
|
|
293
|
+
<div class="demopreview padding:20px"></div>
|
|
294
|
+
</div>
|
|
291
295
|
|
|
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
|
-
fullscreen-selector="#playground"></a>
|
|
336
|
-
</div>
|
|
337
|
-
</div>
|
|
338
|
-
<!-- End SandBox -->
|
|
339
|
-
</div>
|
|
340
|
-
</div>
|
|
296
|
+
<div
|
|
297
|
+
class="font-size:20px position:absolute top:10px right:10px opacity:0.6"
|
|
298
|
+
>
|
|
299
|
+
<a
|
|
300
|
+
class="margin-right:10px"
|
|
301
|
+
id="eye"
|
|
302
|
+
show="#eye-slash"
|
|
303
|
+
hide="#eye, #demo-preview"
|
|
304
|
+
toggle="code-height"
|
|
305
|
+
toggle-selector="#demo-code"
|
|
306
|
+
><i class="height:18px" src="/assets/svg/eye.svg"></i
|
|
307
|
+
></a>
|
|
308
|
+
<a
|
|
309
|
+
class="margin-right:10px"
|
|
310
|
+
hidden
|
|
311
|
+
id="eye-slash"
|
|
312
|
+
show="#eye, #demo-preview"
|
|
313
|
+
hide="#eye-slash"
|
|
314
|
+
toggle="code-height"
|
|
315
|
+
toggle-selector="#demo-code"
|
|
316
|
+
><i src="/assets/svg/eye-slash.svg"></i
|
|
317
|
+
></a>
|
|
318
|
+
<a
|
|
319
|
+
class="margin-right:10px"
|
|
320
|
+
id="code"
|
|
321
|
+
show="#code-slash"
|
|
322
|
+
hide="#code, #demo-code"
|
|
323
|
+
><i src="/assets/svg/code.svg"></i
|
|
324
|
+
></a>
|
|
325
|
+
<a
|
|
326
|
+
class="margin-right:10px"
|
|
327
|
+
hidden
|
|
328
|
+
id="code-slash"
|
|
329
|
+
show="#code, #demo-code"
|
|
330
|
+
hide="#code-slash"
|
|
331
|
+
><i class="height:18px" src="/assets/svg/code.svg"></i
|
|
332
|
+
></a>
|
|
333
|
+
<a
|
|
334
|
+
class="margin-right:5px"
|
|
335
|
+
fullscreen
|
|
336
|
+
fullscreen-selector="#playground"
|
|
337
|
+
></a>
|
|
338
|
+
</div>
|
|
341
339
|
</div>
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
340
|
+
<!-- End SandBox -->
|
|
341
|
+
</div>
|
|
342
|
+
</div>
|
|
343
|
+
</div>
|
|
344
|
+
<button
|
|
345
|
+
href="https://github.com/CoCreate-app/CoCreate-webpack/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..."
|
|
346
|
+
target="_blank"
|
|
347
|
+
class="display:flex justify-content:center align-items:center position:fixed bottom:15px right:15px height:50px width:50px border-radius:50% box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4)"
|
|
348
|
+
>
|
|
349
|
+
<i src="../assets/svg/pencil-alt.svg"></i>
|
|
350
|
+
</button>
|
|
351
|
+
</main>
|
|
352
|
+
<script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
|
|
353
|
+
</body>
|
|
351
354
|
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/webpack",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "A Webpack integration tool for CoCreate applications, enabling file watching, automated chunking, lazy loading, and file uploading. It leverages CoCreate.config for streamlined project builds and development workflows.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|