@rsbuild/plugin-svgr 1.0.2 → 1.0.4
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/file-loader/index.js +8 -8
- package/compiled/url-loader/index.js +8 -8
- package/dist/index.cjs +209 -168
- package/dist/index.js +155 -145
- package/dist/loader.cjs +102 -74
- package/package.json +9 -10
- package/dist-types/package.json +0 -1
- /package/{dist-types → dist}/index.d.ts +0 -0
- /package/{dist-types → dist}/loader.d.ts +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
|
-
|
|
5
|
-
const loader = __nccwpck_require__(
|
|
4
|
+
858: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5
|
+
const loader = __nccwpck_require__(548);
|
|
6
6
|
module.exports = loader.default;
|
|
7
7
|
module.exports.raw = loader.raw;
|
|
8
8
|
},
|
|
9
|
-
|
|
9
|
+
548: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
11
|
exports["default"] = loader;
|
|
12
12
|
exports.raw = void 0;
|
|
13
13
|
var _path = _interopRequireDefault(__nccwpck_require__(17));
|
|
14
14
|
var _loaderUtils = __nccwpck_require__(429);
|
|
15
15
|
var _schemaUtils = __nccwpck_require__(14);
|
|
16
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
17
|
-
var _utils = __nccwpck_require__(
|
|
16
|
+
var _options = _interopRequireDefault(__nccwpck_require__(243));
|
|
17
|
+
var _utils = __nccwpck_require__(211);
|
|
18
18
|
function _interopRequireDefault(obj) {
|
|
19
19
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
20
20
|
}
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
const raw = true;
|
|
80
80
|
exports.raw = raw;
|
|
81
81
|
},
|
|
82
|
-
|
|
82
|
+
211: (__unused_webpack_module, exports) => {
|
|
83
83
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
84
84
|
exports.normalizePath = normalizePath;
|
|
85
85
|
function normalizePath(path, stripTrailing) {
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
17: (module) => {
|
|
115
115
|
module.exports = require("path");
|
|
116
116
|
},
|
|
117
|
-
|
|
117
|
+
243: (module) => {
|
|
118
118
|
module.exports = JSON.parse(
|
|
119
119
|
'{"additionalProperties":true,"properties":{"name":{"description":"The filename template for the target file(s) (https://github.com/webpack-contrib/file-loader#name).","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"outputPath":{"description":"A filesystem path where the target file(s) will be placed (https://github.com/webpack-contrib/file-loader#outputpath).","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"publicPath":{"description":"A custom public path for the target file(s) (https://github.com/webpack-contrib/file-loader#publicpath).","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"postTransformPublicPath":{"description":"A custom transformation function for post-processing the publicPath (https://github.com/webpack-contrib/file-loader#posttransformpublicpath).","instanceof":"Function"},"context":{"description":"A custom file context (https://github.com/webpack-contrib/file-loader#context).","type":"string"},"emitFile":{"description":"Enables/Disables emit files (https://github.com/webpack-contrib/file-loader#emitfile).","type":"boolean"},"regExp":{"description":"A Regular Expression to one or many parts of the target file path. The capture groups can be reused in the name property using [N] placeholder (https://github.com/webpack-contrib/file-loader#regexp).","anyOf":[{"type":"string"},{"instanceof":"RegExp"}]},"esModule":{"description":"By default, file-loader generates JS modules that use the ES modules syntax.","type":"boolean"}},"type":"object"}',
|
|
120
120
|
);
|
|
@@ -142,6 +142,6 @@
|
|
|
142
142
|
}
|
|
143
143
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
144
144
|
__nccwpck_require__.ab = __dirname + "/";
|
|
145
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
145
|
+
var __webpack_exports__ = __nccwpck_require__(858);
|
|
146
146
|
module.exports = __webpack_exports__;
|
|
147
147
|
})();
|