@betterstore/react 0.2.16 → 0.2.18
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 +12 -0
- package/dist/index.cjs.js +96 -16514
- package/dist/index.mjs +75 -16493
- package/package.json +1 -1
- package/rollup.config.mjs +122 -1
package/package.json
CHANGED
package/rollup.config.mjs
CHANGED
|
@@ -29,6 +29,45 @@ export default {
|
|
|
29
29
|
{
|
|
30
30
|
file: "dist/index.mjs",
|
|
31
31
|
format: "esm",
|
|
32
|
+
globals: {
|
|
33
|
+
fs: "null",
|
|
34
|
+
path: "null",
|
|
35
|
+
url: "null",
|
|
36
|
+
crypto: "null",
|
|
37
|
+
assert: "null",
|
|
38
|
+
tty: "null",
|
|
39
|
+
https: "null",
|
|
40
|
+
http: "null",
|
|
41
|
+
stream: "null",
|
|
42
|
+
util: "null",
|
|
43
|
+
os: "null",
|
|
44
|
+
zlib: "null",
|
|
45
|
+
buffer: "null",
|
|
46
|
+
events: "null",
|
|
47
|
+
process: "null",
|
|
48
|
+
querystring: "null",
|
|
49
|
+
string_decoder: "null",
|
|
50
|
+
timers: "null",
|
|
51
|
+
punycode: "null",
|
|
52
|
+
net: "null",
|
|
53
|
+
dns: "null",
|
|
54
|
+
dgram: "null",
|
|
55
|
+
child_process: "null",
|
|
56
|
+
cluster: "null",
|
|
57
|
+
module: "null",
|
|
58
|
+
vm: "null",
|
|
59
|
+
readline: "null",
|
|
60
|
+
repl: "null",
|
|
61
|
+
constants: "null",
|
|
62
|
+
domain: "null",
|
|
63
|
+
v8: "null",
|
|
64
|
+
worker_threads: "null",
|
|
65
|
+
perf_hooks: "null",
|
|
66
|
+
async_hooks: "null",
|
|
67
|
+
inspector: "null",
|
|
68
|
+
trace_events: "null",
|
|
69
|
+
wasi: "null",
|
|
70
|
+
},
|
|
32
71
|
},
|
|
33
72
|
],
|
|
34
73
|
plugins: [
|
|
@@ -38,8 +77,51 @@ export default {
|
|
|
38
77
|
alias: {
|
|
39
78
|
"@": pathResolve(__dirname, "src"),
|
|
40
79
|
},
|
|
80
|
+
browser: true,
|
|
81
|
+
preferBuiltins: false,
|
|
82
|
+
}),
|
|
83
|
+
commonjs({
|
|
84
|
+
include: /node_modules/,
|
|
85
|
+
exclude: [
|
|
86
|
+
"fs",
|
|
87
|
+
"path",
|
|
88
|
+
"url",
|
|
89
|
+
"crypto",
|
|
90
|
+
"assert",
|
|
91
|
+
"tty",
|
|
92
|
+
"https",
|
|
93
|
+
"http",
|
|
94
|
+
"stream",
|
|
95
|
+
"util",
|
|
96
|
+
"os",
|
|
97
|
+
"zlib",
|
|
98
|
+
"buffer",
|
|
99
|
+
"events",
|
|
100
|
+
"process",
|
|
101
|
+
"querystring",
|
|
102
|
+
"string_decoder",
|
|
103
|
+
"timers",
|
|
104
|
+
"punycode",
|
|
105
|
+
"net",
|
|
106
|
+
"dns",
|
|
107
|
+
"dgram",
|
|
108
|
+
"child_process",
|
|
109
|
+
"cluster",
|
|
110
|
+
"module",
|
|
111
|
+
"vm",
|
|
112
|
+
"readline",
|
|
113
|
+
"repl",
|
|
114
|
+
"constants",
|
|
115
|
+
"domain",
|
|
116
|
+
"v8",
|
|
117
|
+
"worker_threads",
|
|
118
|
+
"perf_hooks",
|
|
119
|
+
"async_hooks",
|
|
120
|
+
"inspector",
|
|
121
|
+
"trace_events",
|
|
122
|
+
"wasi",
|
|
123
|
+
],
|
|
41
124
|
}),
|
|
42
|
-
commonjs(),
|
|
43
125
|
typescript(),
|
|
44
126
|
json({
|
|
45
127
|
include: "**/*.json",
|
|
@@ -56,6 +138,45 @@ export default {
|
|
|
56
138
|
}),
|
|
57
139
|
],
|
|
58
140
|
external: [
|
|
141
|
+
// Node.js built-in modules
|
|
142
|
+
"fs",
|
|
143
|
+
"path",
|
|
144
|
+
"url",
|
|
145
|
+
"crypto",
|
|
146
|
+
"assert",
|
|
147
|
+
"tty",
|
|
148
|
+
"https",
|
|
149
|
+
"http",
|
|
150
|
+
"stream",
|
|
151
|
+
"util",
|
|
152
|
+
"os",
|
|
153
|
+
"zlib",
|
|
154
|
+
"buffer",
|
|
155
|
+
"events",
|
|
156
|
+
"process",
|
|
157
|
+
"querystring",
|
|
158
|
+
"string_decoder",
|
|
159
|
+
"timers",
|
|
160
|
+
"punycode",
|
|
161
|
+
"net",
|
|
162
|
+
"dns",
|
|
163
|
+
"dgram",
|
|
164
|
+
"child_process",
|
|
165
|
+
"cluster",
|
|
166
|
+
"module",
|
|
167
|
+
"vm",
|
|
168
|
+
"readline",
|
|
169
|
+
"repl",
|
|
170
|
+
"constants",
|
|
171
|
+
"domain",
|
|
172
|
+
"v8",
|
|
173
|
+
"worker_threads",
|
|
174
|
+
"perf_hooks",
|
|
175
|
+
"async_hooks",
|
|
176
|
+
"inspector",
|
|
177
|
+
"trace_events",
|
|
178
|
+
"wasi",
|
|
179
|
+
|
|
59
180
|
"@radix-ui/react-radio-group",
|
|
60
181
|
"@radix-ui/react-label",
|
|
61
182
|
"@radix-ui/react-checkbox",
|