mirror of
https://github.com/photonstorm/phaser
synced 2024-11-21 20:23:19 +00:00
Multi-dist output and updated package.
This commit is contained in:
parent
5a7a6c20a9
commit
bf65fb6a30
3 changed files with 7 additions and 12 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -10,7 +10,6 @@ Thumbs.db
|
||||||
node_modules/
|
node_modules/
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
dist/
|
|
||||||
/npm-debug.log
|
/npm-debug.log
|
||||||
out/
|
out/
|
||||||
v3/src/checksum.js
|
v3/src/checksum.js
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
{
|
{
|
||||||
"//": "npm publish --tag beta",
|
|
||||||
"name": "phaser",
|
"name": "phaser",
|
||||||
"version": "3.0.0-beta.20",
|
"version": "3.0.0",
|
||||||
"release": "Shadow Coast",
|
"release": "Shadow Coast",
|
||||||
"description": "A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.",
|
"description": "A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.",
|
||||||
"author": "Richard Davey <rdavey@gmail.com> (http://www.photonstorm.com)",
|
"author": "Richard Davey <rich@photonstorm.com> (http://www.photonstorm.com)",
|
||||||
"logo": "https://raw.github.com/photonstorm/phaser/master/phaser-logo-small.png",
|
"logo": "https://raw.github.com/photonstorm/phaser/master/phaser-logo-small.png",
|
||||||
"homepage": "http://phaser.io",
|
"homepage": "http://phaser.io",
|
||||||
"bugs": "https://github.com/photonstorm/phaser/issues",
|
"bugs": "https://github.com/photonstorm/phaser/issues",
|
||||||
|
@ -41,7 +40,7 @@
|
||||||
"raw-loader": "^0.5.1",
|
"raw-loader": "^0.5.1",
|
||||||
"uglifyjs-webpack-plugin": "^1.1.2",
|
"uglifyjs-webpack-plugin": "^1.1.2",
|
||||||
"uuid": "^3.1.0",
|
"uuid": "^3.1.0",
|
||||||
"webpack": "^3.10.0",
|
"webpack": "^3.11.0",
|
||||||
"webpack-shell-plugin": "^0.5.0"
|
"webpack-shell-plugin": "^0.5.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
const webpack = require('webpack');
|
const webpack = require('webpack');
|
||||||
const WebpackShellPlugin = require('webpack-shell-plugin');
|
|
||||||
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
|
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
@ -9,8 +8,10 @@ module.exports = {
|
||||||
context: `${__dirname}/src/`,
|
context: `${__dirname}/src/`,
|
||||||
|
|
||||||
entry: {
|
entry: {
|
||||||
phaser: './phaser.js',
|
'phaser': './phaser.js',
|
||||||
'phaser.min': './phaser.js'
|
'phaser.min': './phaser.js',
|
||||||
|
'phaser-arcade-physics': './phaser-arcade-physics.js',
|
||||||
|
'phaser-arcade-physics.min': './phaser-arcade-physics.js'
|
||||||
},
|
},
|
||||||
|
|
||||||
output: {
|
output: {
|
||||||
|
@ -51,10 +52,6 @@ module.exports = {
|
||||||
warnings: false
|
warnings: false
|
||||||
},
|
},
|
||||||
warningsFilter: (src) => false
|
warningsFilter: (src) => false
|
||||||
}),
|
|
||||||
|
|
||||||
new WebpackShellPlugin({
|
|
||||||
onBuildStart: 'node create-checksum.js'
|
|
||||||
})
|
})
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue