mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-16 15:40:02 -04:00
commit
d9d4269e3e
3 changed files with 9 additions and 7 deletions
7
lib/index.cjs
Normal file
7
lib/index.cjs
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
const { resolve } = require("node:path");
|
||||||
|
|
||||||
|
const scramjetPath = resolve(__dirname, "..", "dist");
|
||||||
|
|
||||||
|
exports.scramjetPath = scramjetPath;
|
|
@ -1,5 +0,0 @@
|
||||||
import { resolve } from 'node:path'
|
|
||||||
|
|
||||||
const scramjetPath = resolve(import.meta.dirname, '..', 'dist');
|
|
||||||
|
|
||||||
export { scramjetPath }
|
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"name": "@mercuryworkshop/scramjet",
|
"name": "@mercuryworkshop/scramjet",
|
||||||
"version": "1.0.1",
|
"version": "1.0.2",
|
||||||
"description": "An experimental web proxy that aims to be the successor to Ultraviolet",
|
"description": "An experimental web proxy that aims to be the successor to Ultraviolet",
|
||||||
"main": "./lib/index.js",
|
"main": "./lib/index.cjs",
|
||||||
"types": "./lib/index.d.js",
|
"types": "./lib/index.d.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue