Skip to content

Browserify doesn't work out of the box #6

@cursedcoder

Description

@cursedcoder

In order to make it working with browserify I had to change:

https://github.com/amowu/phaser-shim/blob/master/index.js

'use strict';

global.PIXI = require('./dist/pixi');
global.Phaser = require('./dist/phaser');

module.exports = Phaser;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions