@rsbuild/plugin-toml 0.3.6 → 0.3.7

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -23,12 +23,12 @@ __export(src_exports, {
23
23
  pluginToml: () => pluginToml
24
24
  });
25
25
  module.exports = __toCommonJS(src_exports);
26
- var import_path = require("path");
26
+ var import_node_path = require("path");
27
27
  var pluginToml = () => ({
28
28
  name: "rsbuild:toml",
29
29
  setup(api) {
30
30
  api.modifyBundlerChain((chain, { CHAIN_ID }) => {
31
- chain.module.rule(CHAIN_ID.RULE.TOML).type("javascript/auto").test(/\.toml$/).use(CHAIN_ID.USE.TOML).loader((0, import_path.join)(__dirname, "../compiled", "toml-loader"));
31
+ chain.module.rule(CHAIN_ID.RULE.TOML).type("javascript/auto").test(/\.toml$/).use(CHAIN_ID.USE.TOML).loader((0, import_node_path.join)(__dirname, "../compiled", "toml-loader"));
32
32
  });
33
33
  }
34
34
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-toml",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "description": "TOML plugin for Rsbuild",
5
5
  "homepage": "https://rsbuild.dev",
6
6
  "repository": {
@@ -24,15 +24,15 @@
24
24
  "compiled"
25
25
  ],
26
26
  "dependencies": {
27
- "@rsbuild/shared": "0.3.6"
27
+ "@rsbuild/shared": "0.3.7"
28
28
  },
29
29
  "devDependencies": {
30
30
  "typescript": "^5.3.0",
31
- "@rsbuild/core": "0.3.6",
32
- "@scripts/test-helper": "0.3.6"
31
+ "@rsbuild/core": "0.3.7",
32
+ "@scripts/test-helper": "0.3.7"
33
33
  },
34
34
  "peerDependencies": {
35
- "@rsbuild/core": "^0.3.6"
35
+ "@rsbuild/core": "^0.3.7"
36
36
  },
37
37
  "publishConfig": {
38
38
  "access": "public",