1.0.9 • Published 1 year ago
@nbfe/react-cli v1.0.9
使用
npm i -D @nbfe/react-cli
命令行
- npx react-cli serve // 启动开发服务器
- npx react-cli build // 生产环境下构建
- npx react-cli inspect // 检查内部 webpack 配置
api 调用
const { getWebpackConfig } = require('@nbfe/react-cli')
const webpackConfig = getWebpackConfig(false)
react.config.js
module.exports = config => {
const { isDevelopment, isMac, ipAddress } = config
return {
devServer: {
port: 3000
},
dllEntry: {
vendor: ['react', 'react-dom']
}
}
}
1.0.9
1 year ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
0.4.1
2 years ago
0.4.0
2 years ago
0.4.2
2 years ago
0.3.7
2 years ago
0.3.6
2 years ago
0.3.5
2 years ago
0.3.0
2 years ago
0.2.7
2 years ago
0.2.6
2 years ago
0.2.9
2 years ago
0.2.8
2 years ago
0.3.2
2 years ago
0.3.1
2 years ago
0.3.4
2 years ago
0.3.3
2 years ago
0.2.5
2 years ago
0.2.4
3 years ago
0.2.3
3 years ago
0.2.2
3 years ago
0.2.1
3 years ago
0.1.10
3 years ago
0.2.0
3 years ago
0.1.9
3 years ago
0.1.8
3 years ago
0.1.7
3 years ago
0.1.5
3 years ago
0.1.4
3 years ago
0.1.3
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago