Tag: 打包和缩小

捆绑问题(angular2 + webpack捆绑)

这是我的package.json。 我添加了webpack的依赖关系。我的混乱是否我的denpendencies和脚本正确? 因为,当我做npm开始时,它开始捆绑,并启动浏览器的angular2项目,我有一个问题, 无法得到app.bundle.js ,我已经提供了index.html,下面的webpack.config.js .. { "name": "angular-quickstart", "version": "1.0.0", "description": "QuickStart package.json from the documentation, supplemented with testing support", "scripts": { "build": "rimraf dist && webpack –config webpack.config.js –progress", "build:watch": "tsc -p src/ -w", "build:e2e": "tsc -p e2e/", "serve": "lite-server -c=bs-config.json", "serve:e2e": "lite-server -c=bs-config.e2e.json", "prestart": "npm run build", "start": "concurrently \"npm run build:watch\" […]