mirror of
https://github.com/jakejarvis/jakejarvis.git
synced 2025-04-26 02:05:21 -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";
|
||||
|
||||
// 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");
|
||||
|
||||
// run code through babel
|
||||
|
@ -25,7 +25,7 @@
|
||||
"scripts": {
|
||||
"build": "node build.js",
|
||||
"run": "yarn build && node dist/index.cjs",
|
||||
"lint": "eslint . --ext js,cjs",
|
||||
"lint": "eslint . --ext js,jsx",
|
||||
"prepublishOnly": "yarn build"
|
||||
},
|
||||
"dependencies": {},
|
||||
|
Loading…
x
Reference in New Issue
Block a user