Skip to content

Commit b390ac0

Browse files
Simplifying builds
1 parent 03344f1 commit b390ac0

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ $ npm run dev
2020

2121
- `npm run dev`: Webpack + `vue-loader` with proper config for source maps & hot-reload for developing using web browser.
2222

23-
- `npm run build_debug`: build for neutronium usage with HTML/CSS/JS minification using source maps. Just reference the generated `dist\build.js` and `dist\index.htnl` in the neutronium project.
24-
25-
- `npm run build_prod`: Same as `npm run build_debug` without map sources.
23+
- `npm run build`: build for neutronium usage with HTML/CSS/JS minification. Just reference the generated `dist\build.js` and `dist\index.htnl` in the neutronium project.
2624

2725
For detailed explanation on how things work, consult the [docs for vue-loader](http://vuejs.github.io/vue-loader). Also check out the [breaking changes in [email protected]](https://github.com/vuejs/vue-loader/releases/tag/v9.0.0).
2826

template/README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,5 @@ npm install
1212
npm run dev
1313

1414
# build for neutronium with map source file and minification
15-
npm run build_debug
16-
17-
# build for neutronium with minification
18-
npm run build_prod
15+
npm run build
1916
```

template/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"private": true,
66
"scripts": {
77
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --inline --hot --port 9000",
8-
"build_debug": "cross-env NODE_ENV=production webpack --progress --hide-modules -d",
9-
"build_prod": "cross-env NODE_ENV=production webpack --progress --hide-modules"
8+
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules"
109
},
1110
"dependencies": {
1211
"vue": "^2.0.3"

0 commit comments

Comments
 (0)