Merge pull request #9 from MercuryWorkshop/cohen

Cohen
This commit is contained in:
Avad3 2024-07-02 20:52:18 -04:00 committed by GitHub
commit d9d4269e3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 7 deletions

7
lib/index.cjs Normal file
View file

@ -0,0 +1,7 @@
"use strict";
const { resolve } = require("node:path");
const scramjetPath = resolve(__dirname, "..", "dist");
exports.scramjetPath = scramjetPath;

View file

@ -1,5 +0,0 @@
import { resolve } from 'node:path'
const scramjetPath = resolve(import.meta.dirname, '..', 'dist');
export { scramjetPath }

View file

@ -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",