-
Notifications
You must be signed in to change notification settings - Fork 84
Description
Hi, sorry for my Eng.
When i try use bump.js via CDN like https://cdn.rawgit.com/kittykatattack/bump/2fe38b76/bin/bump.js
all working correct.
But when i try use webpack or another build system from npm_modules i get error: Bump is undefined...
Builded code don't have 'var Bump ='.
This don't work for me:
let bump = new Bump(PIXI);
app.js:2 Uncaught ReferenceError: Bump is not defined
yarn info bump.js
yarn info v1.5.1
warning package.json: No license field
{ name: 'bump.js',
description: 'A 2D Collision library for Pixi',
'dist-tags':
{ latest: '1.0.3' },
versions:
[ '1.0.0',
'1.0.1',
'1.0.2',
'1.0.3' ],
maintainers:
[ { name: 'happierall',
email: 'happierall@gmail.com' } ],
time:
{ modified: '2016-10-09T12:35:04.165Z',
created: '2016-10-09T12:12:07.356Z',
'1.0.0': '2016-10-09T12:12:07.356Z',
'1.0.1': '2016-10-09T12:16:08.974Z',
'1.0.2': '2016-10-09T12:23:39.232Z',
'1.0.3': '2016-10-09T12:35:04.165Z' },
homepage: 'https://github.com/kittykatattack/bump#readme',
keywords:
[ 'collision',
'2d',
'pixi' ],
repository:
{ type: 'git',
url: 'git+https://github.com/kittykatattack/bump.git' },
author:
{ name: 'kittykatattack' },
bugs:
{ url: 'https://github.com/kittykatattack/bump/issues' },
license: 'MIT',
readmeFilename: 'README.md',
version: '1.0.3',
main: 'bin/bump.js',
scripts: {},
dist:
{ shasum: 'e0bd953d1ac46d60ab24610d7c632f92295cf8d4',
tarball: 'https://registry.npmjs.org/bump.js/-/bump.js-1.0.3.tgz' },
directories: {} }