1
Fork 0

typescript(loopover): chore: changed descriptions, amd build namespace

Signed-off-by: prescientmoon <git@moonythm.dev>
This commit is contained in:
Matei Adriel 2019-11-25 18:19:06 +02:00 committed by prescientmoon
parent 23e9f54b57
commit 606d4546b0
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
3 changed files with 4 additions and 2 deletions

View file

@ -10,6 +10,8 @@
npm install @adrielus/loopover npm install @adrielus/loopover
``` ```
(There is also an amd build at `/dist/bundle.amd.js` which uses the `Loopover` namespace)
## Usage ## Usage
### Creating a game ### Creating a game

View file

@ -1,7 +1,7 @@
{ {
"name": "@adrielus/loopover", "name": "@adrielus/loopover",
"version": "0.1.0", "version": "0.1.0",
"description": "Isomorphic loopover simulator.", "description": "Reliable loopover simulator",
"main": "dist/bundle.cjs.js", "main": "dist/bundle.cjs.js",
"module": "dist/bundle.esm.js", "module": "dist/bundle.esm.js",
"typings": "dist/index.d.ts", "typings": "dist/index.d.ts",

View file

@ -32,7 +32,7 @@ export default [
file: `${outputDirectory}/bundle.amd.js`, file: `${outputDirectory}/bundle.amd.js`,
sourcemap: true, sourcemap: true,
format: 'amd', format: 'amd',
name: 'Ecs' name: 'Loopover'
} }
], ],
plugins: [ plugins: [