0.0.2 • Published 5 years ago

jtlib v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

jtlib

Run react project by integrate webpack.

Install

npm i jtlib -D

Add jtlib to package.json

"jtlib": {
  "entrys": [
    "docs/index.tsx"
  ],
  "dlls": [
    "react",
    "react-dom"
  ],
  "production": {
    "path": "built",
    "filename": "bundle.js"
  }
}

Or add jtlib.config.json in root dir

{
  "entrys": [
    "docs/index.tsx"
  ],
  "dlls": [
    "react",
    "react-dom"
  ]
}

start dev server

jtlib develop

production build

jtlib production

test

jtlib test