@tooltify/integration-rspack 0.1.9 → 0.1.11

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 +3 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -1,7 +1,9 @@
1
1
  // index.ts
2
2
  import fs from "fs";
3
+ import { createRequire } from "module";
3
4
  import { startServer, CLIENT_BUNDLE } from "@tooltify/core";
4
- var CUSTOM_JSX_RUNTIME = "@tooltify/integration-shared/source-transformers/react";
5
+ var _require = createRequire(import.meta.url);
6
+ var CUSTOM_JSX_RUNTIME = _require.resolve("@tooltify/integration-shared/source-transformers/react");
5
7
  function rspackTooltify({ publicUrl } = {}) {
6
8
  return {
7
9
  apply(compiler) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tooltify/integration-rspack",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -18,8 +18,8 @@
18
18
  "prepublishOnly": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "@tooltify/core": "*",
22
- "@tooltify/integration-shared": "*"
21
+ "@tooltify/core": "latest",
22
+ "@tooltify/integration-shared": "latest"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "@rspack/core": "^1.7.8"