Raanan Weber 7d7506145b adding readme.md files to the package json 8 年 前
..
babylon.objSerializer.d.ts e8ca73d095 Nightly 8 年 前
babylon.objSerializer.js d9c1002dd4 nightly 8 年 前
babylon.objSerializer.min.js d9c1002dd4 nightly 8 年 前
babylonjs.serializers.js 613af5b1b9 Fix playground bug when dist=true 8 年 前
babylonjs.serializers.min.js 613af5b1b9 Fix playground bug when dist=true 8 年 前
babylonjs.serializers.module.d.ts 386be42463 Missing files for npm packages (generated) 8 年 前
package.json 7d7506145b adding readme.md files to the package json 8 年 前
readme.md 241153b81f Readme files for all modules 8 年 前

readme.md

Babylon.js Serializers

Installation instructions

CDN

Compiled js files (minified and source) are offered on our public CDN here:

NPM

To install using npm :

npm install --save babylonjs babylonjs-serializers

If using TypeScript, the typing needs to be added to tsconfig.json:

    ....
    "types": [
        "babylonjs",
        "babylonjs-serializers",
        "oneMoreDependencyThatIReallyNeed"
    ],
    ....

Afterwards it can be imported to the project using:

import * as BABYLON from 'babylonjs';
import from 'babylonjs-serializers';

This will extend Babylon's namespace with the serializers currently available.

Using webpack to package your project will use the minified js file.