0.0.2 • Published 7 years ago
jtlib v0.0.2
jtlib
Run react project by integrate webpack.
Install
npm i jtlib -DAdd 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 developproduction build
jtlib productiontest
jtlib test