1 Star 0 Fork 1

typescript/angular2-webpack-starter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
webpack.config.js 475 Bytes
一键复制 编辑 原始数据 按行查看 历史
PatrickJS 提交于 2016-09-08 23:00 . chore: update webpack and hmr-loader
/**
* @author: @AngularClass
*/
// Look in ./config folder for webpack.dev.js
switch (process.env.NODE_ENV) {
case 'prod':
case 'production':
module.exports = require('./config/webpack.prod')({env: 'production'});
break;
case 'test':
case 'testing':
module.exports = require('./config/webpack.test')({env: 'test'});
break;
case 'dev':
case 'development':
default:
module.exports = require('./config/webpack.dev')({env: 'development'});
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/typescript/angular2-webpack-starter.git
[email protected]:typescript/angular2-webpack-starter.git
typescript
angular2-webpack-starter
angular2-webpack-starter
master

搜索帮助