@sentry/vite-plugin 0.2.0 → 0.2.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/README.md CHANGED
@@ -4,9 +4,7 @@
4
4
  </a>
5
5
  </p>
6
6
 
7
- # Sentry Vite Plugin (WIP)
8
-
9
- **WARNING: This package is work in progress! Use with caution and do not yet use it in production. We're happy to receive your feedback!**
7
+ # Sentry Vite Plugin
10
8
 
11
9
  A Vite plugin that provides release management features for Sentry:
12
10
 
@@ -1,2 +1,2 @@
1
1
  export { sentryVitePlugin as default } from '@sentry/bundler-plugin-core';
2
- //# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/vite-plugin",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Official Sentry Vite plugin",
5
5
  "repository": "git://github.com/getsentry/sentry-javascript-bundler-plugins.git",
6
6
  "homepage": "https://github.com/getsentry/sentry-javascript-bundler-plugins/tree/main/packages/vite-plugin",
@@ -18,8 +18,14 @@
18
18
  "files": [
19
19
  "dist"
20
20
  ],
21
+ "exports": {
22
+ ".": {
23
+ "import": "./dist/esm/index.mjs",
24
+ "require": "./dist/cjs/index.js"
25
+ }
26
+ },
21
27
  "main": "dist/cjs/index.js",
22
- "module": "dist/esm/index.js",
28
+ "module": "dist/esm/index.mjs",
23
29
  "types": "dist/types/index.d.ts",
24
30
  "scripts": {
25
31
  "build": "rimraf ./out && run-p build:rollup build:types",
@@ -40,7 +46,7 @@
40
46
  "lint": "eslint ./src ./test"
41
47
  },
42
48
  "dependencies": {
43
- "@sentry/bundler-plugin-core": "0.2.0"
49
+ "@sentry/bundler-plugin-core": "0.2.2"
44
50
  },
45
51
  "devDependencies": {
46
52
  "@babel/core": "7.18.5",
@@ -50,8 +56,8 @@
50
56
  "@rollup/plugin-commonjs": "22.0.1",
51
57
  "@rollup/plugin-json": "4.1.0",
52
58
  "@rollup/plugin-node-resolve": "13.3.0",
53
- "@sentry-internal/eslint-config": "0.2.0",
54
- "@sentry-internal/sentry-bundler-plugin-tsconfig": "0.2.0",
59
+ "@sentry-internal/eslint-config": "0.2.2",
60
+ "@sentry-internal/sentry-bundler-plugin-tsconfig": "0.2.2",
55
61
  "@swc/core": "^1.2.205",
56
62
  "@swc/jest": "^0.2.21",
57
63
  "@types/jest": "^28.1.3",
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}