mattcolman / phaser-manifest-loader

Phaser Manifest Loader
http://mattcolman.com/labs/phaser-manifest-loader/index.html
MIT License
30 stars 7 forks source link

Fix path to main in package.json #1

Closed goldfire closed 7 years ago

goldfire commented 7 years ago

The path is currently pointing to index.js, but it should actually be src/index.js. Without this fix, you have to do the following to import the plugin:

import ManifestLoader from 'phaser-manifest-loader/src';

instead of:

import ManifestLoader from 'phaser-manifest-loader';

mattcolman commented 7 years ago

oh damn, that's pretty poor! Thanks @goldfire !

mattcolman commented 7 years ago

@goldfire fixed now with v1.0.7 Any feedback please let me know :) Cheers!