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/
|
||||
|
||||
# Build
|
||||
dist/
|
||||
/npm-debug.log
|
||||
out/
|
||||
v3/src/checksum.js
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
{
|
||||
"//": "npm publish --tag beta",
|
||||
"name": "phaser",
|
||||
"version": "3.0.0-beta.20",
|
||||
"version": "3.0.0",
|
||||
"release": "Shadow Coast",
|
||||
"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",
|
||||
"homepage": "http://phaser.io",
|
||||
"bugs": "https://github.com/photonstorm/phaser/issues",
|
||||
|
@ -41,7 +40,7 @@
|
|||
"raw-loader": "^0.5.1",
|
||||
"uglifyjs-webpack-plugin": "^1.1.2",
|
||||
"uuid": "^3.1.0",
|
||||
"webpack": "^3.10.0",
|
||||
"webpack": "^3.11.0",
|
||||
"webpack-shell-plugin": "^0.5.0"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
const webpack = require('webpack');
|
||||
const WebpackShellPlugin = require('webpack-shell-plugin');
|
||||
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
|
||||
|
||||
module.exports = {
|
||||
|
@ -9,8 +8,10 @@ module.exports = {
|
|||
context: `${__dirname}/src/`,
|
||||
|
||||
entry: {
|
||||
phaser: './phaser.js',
|
||||
'phaser.min': './phaser.js'
|
||||
'phaser': './phaser.js',
|
||||
'phaser.min': './phaser.js',
|
||||
'phaser-arcade-physics': './phaser-arcade-physics.js',
|
||||
'phaser-arcade-physics.min': './phaser-arcade-physics.js'
|
||||
},
|
||||
|
||||
output: {
|
||||
|
@ -51,10 +52,6 @@ module.exports = {
|
|||
warnings: false
|
||||
},
|
||||
warningsFilter: (src) => false
|
||||
}),
|
||||
|
||||
new WebpackShellPlugin({
|
||||
onBuildStart: 'node create-checksum.js'
|
||||
})
|
||||
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue