Skip to content

Commit bf65fb6

Browse files
committed
Multi-dist output and updated package.
1 parent 5a7a6c2 commit bf65fb6

3 files changed

Lines changed: 7 additions & 12 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Thumbs.db
1010
node_modules/
1111

1212
# Build
13-
dist/
1413
/npm-debug.log
1514
out/
1615
v3/src/checksum.js

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
2-
"//": "npm publish --tag beta",
32
"name": "phaser",
4-
"version": "3.0.0-beta.20",
3+
"version": "3.0.0",
54
"release": "Shadow Coast",
65
"description": "A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.",
7-
"author": "Richard Davey <rdavey@gmail.com> (http://www.photonstorm.com)",
6+
"author": "Richard Davey <rich@photonstorm.com> (http://www.photonstorm.com)",
87
"logo": "https://raw.github.com/photonstorm/phaser/master/phaser-logo-small.png",
98
"homepage": "http://phaser.io",
109
"bugs": "https://github.com/photonstorm/phaser/issues",
@@ -41,7 +40,7 @@
4140
"raw-loader": "^0.5.1",
4241
"uglifyjs-webpack-plugin": "^1.1.2",
4342
"uuid": "^3.1.0",
44-
"webpack": "^3.10.0",
43+
"webpack": "^3.11.0",
4544
"webpack-shell-plugin": "^0.5.0"
4645
},
4746
"dependencies": {

webpack.dist.config.js

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
'use strict';
22

33
const webpack = require('webpack');
4-
const WebpackShellPlugin = require('webpack-shell-plugin');
54
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
65

76
module.exports = {
87

98
context: `${__dirname}/src/`,
109

1110
entry: {
12-
phaser: './phaser.js',
13-
'phaser.min': './phaser.js'
11+
'phaser': './phaser.js',
12+
'phaser.min': './phaser.js',
13+
'phaser-arcade-physics': './phaser-arcade-physics.js',
14+
'phaser-arcade-physics.min': './phaser-arcade-physics.js'
1415
},
1516

1617
output: {
@@ -51,10 +52,6 @@ module.exports = {
5152
warnings: false
5253
},
5354
warningsFilter: (src) => false
54-
}),
55-
56-
new WebpackShellPlugin({
57-
onBuildStart: 'node create-checksum.js'
5855
})
5956

6057
]

0 commit comments

Comments
 (0)