Official JavaScript SDK for Base.
npm run dev
Runs the app in development mode using Webpack dev server and Webpack Dashboard. Open http://localhost:3000 to view it in the browser.
npm run build
Two separate folders, browser
and module
will be created inside the /dist
folder.
The /browser
folder will contain three files, all of which are transpiled from TypeScript to ES5. Thus they will directly work in the browser,
without having to run a transpiler like Babel.
- app.bundle.js: Contains the core library.
- vendor.bundle.js: Contains the library's dependencies.
- index.html: A placeholder page with both the above files linked.
The /module
folder will contain all the files and modules, transpiled from TypeScript to ES5. However, the folder will also contain
TypeScript definitions for all the classes. This would make integrating this library in to your existing TypeScript app, seamless.