swc-plugin-import-meta-env 0.1.1 → 0.1.3
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 +2 -0
- package/package.json +1 -1
- package/swc_plugin_import_meta_env.wasm +0 -0
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
> Simple plugin to transform `import.meta.env` to `process.env`
|
|
4
4
|
|
|
5
|
+
[](https://www.npmjs.com/package/swc-plugin-import-meta-env)
|
|
6
|
+
|
|
5
7
|
This `@swc` plugin provides a simple transformation from `import.meta.env` to `process.env`.
|
|
6
8
|
|
|
7
9
|
The original purpose of this was to allow `@swc` usage in a large Jest test suite while also using Vite for bundling.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "swc-plugin-import-meta-env",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "@swc plugin for handling the transformation of import.meta.env",
|
|
5
5
|
"author": "Alex Miller <codex.nz@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/Codex-/swc-plugin-import-meta-env#readme",
|
|
Binary file
|