1
mirror of https://github.com/jakejarvis/jakejarvis.git synced 2025-04-26 19:18:28 -04:00

rename index.cjs -> index.jsx

This commit is contained in:
Jake Jarvis 2022-05-09 14:48:31 -04:00
parent 42dc0c3b4b
commit 1a95e4b8f4
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39
3 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ import ncc from "@vercel/ncc";
import prettyBytes from "pretty-bytes"; import prettyBytes from "pretty-bytes";
// prepare some paths // prepare some paths
const inputFile = path.join(process.cwd(), "index.cjs"); const inputFile = path.join(process.cwd(), "index.jsx");
const outputDir = path.join(process.cwd(), "dist"); const outputDir = path.join(process.cwd(), "dist");
// run code through babel // run code through babel

View File

@ -25,7 +25,7 @@
"scripts": { "scripts": {
"build": "node build.js", "build": "node build.js",
"run": "yarn build && node dist/index.cjs", "run": "yarn build && node dist/index.cjs",
"lint": "eslint . --ext js,cjs", "lint": "eslint . --ext js,jsx",
"prepublishOnly": "yarn build" "prepublishOnly": "yarn build"
}, },
"dependencies": {}, "dependencies": {},