Skip to content

Commit

Permalink
upgrade webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Steiger committed Apr 26, 2018
1 parent eb59eb9 commit 5b1ebc2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "com.siemens.bt.jazz.rtc.workitemeditor.presentation.statushistory",
"version": "2.2.3",
"version": "2.2.4",
"description": "a non-Attribute-based Work Item Editor Extension for Rational Team Concert that shows all Status changes since the creation of the work item in form of a timeline.",
"scripts": {
"build": "webpack --config ./webpack.config.js"
"build": "webpack --config ./webpack.config.js --mode production"
},
"repository": {
"type": "git",
Expand All @@ -22,6 +22,9 @@
"homepage": "http://jazz-community.org",
"dependencies": {
"jazz-update-site-webpack-plugin": "^0.4.1",
"webpack": "^3.2.0"
"webpack": "^4.6.0"
},
"devDependencies": {
"webpack-cli": "^2.0.15"
}
}
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ const JazzUpdateSitePlugin = require('jazz-update-site-webpack-plugin');
const packageJson = require('./package.json');

module.exports = (env) => {
const version = (env && env.buildUUID) || packageJson.version;
version && console.info(`Build UUID is passed along: '${version}'`);
env && env.buildUUID && console.info(`Build UUID is passed along: '${env.buildUUID}'`);
const version = env && env.buildUUID || packageJson.version;

const config = {
entry: {
Expand Down

0 comments on commit 5b1ebc2

Please sign in to comment.