From bf65fb6a30ce708b6f84a7c1dd77e93376c656c2 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Tue, 13 Feb 2018 03:23:52 +0000 Subject: [PATCH] Multi-dist output and updated package. --- .gitignore | 1 - package.json | 7 +++---- webpack.dist.config.js | 11 ++++------- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index a0a418c7c..ecad7254b 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,6 @@ Thumbs.db node_modules/ # Build -dist/ /npm-debug.log out/ v3/src/checksum.js diff --git a/package.json b/package.json index 801bdd30a..29dd4bc6f 100644 --- a/package.json +++ b/package.json @@ -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 (http://www.photonstorm.com)", + "author": "Richard Davey (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": { diff --git a/webpack.dist.config.js b/webpack.dist.config.js index 3ca880a55..53eebed08 100644 --- a/webpack.dist.config.js +++ b/webpack.dist.config.js @@ -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' }) ]