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:
parent
42dc0c3b4b
commit
1a95e4b8f4
@ -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
|
||||||
|
@ -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": {},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user