@rsbuild/core 1.1.1 → 1.1.2
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/compiled/chokidar/index.d.ts +318 -189
- package/compiled/chokidar/index.js +1069 -4439
- package/compiled/chokidar/license +1 -1
- package/compiled/chokidar/package.json +1 -1
- package/compiled/tinyglobby/index.d.ts +25 -0
- package/compiled/tinyglobby/index.js +2749 -0
- package/compiled/tinyglobby/index1.js +17 -0
- package/compiled/tinyglobby/license +21 -0
- package/compiled/tinyglobby/package.json +1 -0
- package/dist/ignoreCssLoader.cjs +22 -44
- package/dist/index.cjs +3964 -8135
- package/dist/index.cjs.LICENSE.txt +13 -0
- package/dist/index.js +3957 -8098
- package/dist/index.js.LICENSE.txt +13 -0
- package/dist/transformLoader.cjs +26 -44
- package/dist/transformRawLoader.cjs +26 -53
- package/dist-types/cli/init.d.ts +2 -1
- package/dist-types/config.d.ts +2 -2
- package/dist-types/index.d.ts +1 -1
- package/dist-types/internal.d.ts +1 -13
- package/dist-types/plugins/css.d.ts +1 -2
- package/dist-types/provider/helpers.d.ts +12 -0
- package/dist-types/server/restart.d.ts +4 -0
- package/dist-types/server/watchFiles.d.ts +4 -1
- package/dist-types/types/config.d.ts +14 -6
- package/dist-types/types/rsbuild.d.ts +3 -1
- package/package.json +5 -5
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const pico = require('./lib/picomatch');
|
|
4
|
+
const utils = require('./lib/utils');
|
|
5
|
+
|
|
6
|
+
function picomatch(glob, options, returnState = false) {
|
|
7
|
+
// default to os.platform()
|
|
8
|
+
if (options && (options.windows === null || options.windows === undefined)) {
|
|
9
|
+
// don't mutate the original options object
|
|
10
|
+
options = { ...options, windows: utils.isWindows() };
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
return pico(glob, options, returnState);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
Object.assign(picomatch, pico);
|
|
17
|
+
module.exports = picomatch;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Madeline Gurriarán
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"tinyglobby","author":"Superchupu","version":"0.2.10","license":"MIT","types":"index.d.ts","type":"commonjs"}
|
package/dist/ignoreCssLoader.cjs
CHANGED
|
@@ -1,54 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// The require scope
|
|
3
2
|
var __webpack_require__ = {};
|
|
4
|
-
|
|
5
|
-
(()
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
(
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
(()
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
24
|
-
value: 'Module'
|
|
25
|
-
});
|
|
26
|
-
Object.defineProperty(exports1, '__esModule', {
|
|
27
|
-
value: true
|
|
28
|
-
});
|
|
29
|
-
};
|
|
30
|
-
})();
|
|
31
|
-
/************************************************************************/ var __webpack_exports__ = {};
|
|
32
|
-
__webpack_require__.r(__webpack_exports__);
|
|
33
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
3
|
+
__webpack_require__.d = function(exports1, definition) {
|
|
4
|
+
for(var key in definition)__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key) && Object.defineProperty(exports1, key, {
|
|
5
|
+
enumerable: !0,
|
|
6
|
+
get: definition[key]
|
|
7
|
+
});
|
|
8
|
+
}, __webpack_require__.o = function(obj, prop) {
|
|
9
|
+
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
10
|
+
}, __webpack_require__.r = function(exports1) {
|
|
11
|
+
'undefined' != typeof Symbol && Symbol.toStringTag && Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
12
|
+
value: 'Module'
|
|
13
|
+
}), Object.defineProperty(exports1, '__esModule', {
|
|
14
|
+
value: !0
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
var __webpack_exports__ = {};
|
|
18
|
+
function __WEBPACK_DEFAULT_EXPORT__(source) {
|
|
19
|
+
return (null === this || void 0 === this || this.cacheable(!0), source.includes('___CSS_LOADER_EXPORT___')) ? '' : source;
|
|
20
|
+
}
|
|
21
|
+
__webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, {
|
|
34
22
|
default: function() {
|
|
35
|
-
return
|
|
23
|
+
return __WEBPACK_DEFAULT_EXPORT__;
|
|
36
24
|
}
|
|
37
25
|
});
|
|
38
|
-
/* ESM default export */ function __WEBPACK_DEFAULT_EXPORT__(source) {
|
|
39
|
-
var _this;
|
|
40
|
-
null === (_this = this) || void 0 === _this || _this.cacheable(true);
|
|
41
|
-
// if the source code include '___CSS_LOADER_EXPORT___'
|
|
42
|
-
// It is not a CSS Modules file because exportOnlyLocals is enabled,
|
|
43
|
-
// so we don't need to preserve it.
|
|
44
|
-
if (source.includes('___CSS_LOADER_EXPORT___')) return '';
|
|
45
|
-
// Preserve CSS Modules export for SSR.
|
|
46
|
-
return source;
|
|
47
|
-
}
|
|
48
26
|
var __webpack_export_target__ = exports;
|
|
49
27
|
for(var i in __webpack_exports__)__webpack_export_target__[i] = __webpack_exports__[i];
|
|
50
|
-
|
|
51
|
-
value:
|
|
28
|
+
__webpack_exports__.__esModule && Object.defineProperty(__webpack_export_target__, '__esModule', {
|
|
29
|
+
value: !0
|
|
52
30
|
});
|
|
53
31
|
|
|
54
32
|
// Annotate the CommonJS export names for ESM import in node:
|