@exalt/toolchain

1.0.4 • Public • Published

Exalt Toolchain

Exalt Toolchain provides a standard development environment with all the features you need for developing websites, web apps, and component libraries with exalt.

Actions License Donate Follow Us


Installation

You can install @exalt/toolchain using npm:

npm install --save-dev @exalt/toolchain

To make this toolchain the active toolchain for @exalt/cli, set it as the value for the toolchain property in exalt.json

{
    "toolchain": "@exalt/toolchain"
}

What Does This Toolchain Do?

This toolchain enables the following features for @exalt/cli:

  • JavaScript & Typescript bundling, transpilation, and minification.
  • Import aliasing.
  • Live reloading development server.
  • Generation of HTML based on output files.
  • Support for importing css files.
  • Support for importing json files.
  • Support for folder components.
  • Support for decorators.
  • Code Splitting.
  • Prerendering Support.

This toolchain offers some options to configure this functionality.

Options:

  • target (default: "es2015") - sets the JavaScript version to be transpiled to.
  • publicPath (default: "/") - the asset path to append to the beginning of all asset paths.
  • dest (default: "dist") - the build output directory.
  • port (default: 3000) - sets the web server port.
  • open (default: true) - tells the cli whether or not to launch your app or not.
  • prerender (default: false) - tells the cli to prerender your app to static html files.
  • legacy (default: false) - sets the build output to support legacy browsers.
  • paths (default: {}) - object that maps aliases to file paths.
  • external (default: []) - sets the modules to be exluded from the bundle.

TypeScript Support

Typescript support is ready out of the box. All you need to do is change your files to have a .ts file extension and make sure your input field is updated in exalt.json. The toolchain will then automatically compile your code down to JavaScript.


Reporting Issues

If you are having trouble getting something to work with exalt or run into any problems, you can create a new issue.

If this framework does not fit your needs or is missing a feature you would like to see, let us know! We would greatly appreciate your feedback on it.


License

Exalt is licensed under the terms of the MIT license.

Package Sidebar

Install

npm i @exalt/toolchain

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

14.7 kB

Total Files

4

Last publish

Collaborators

  • jleeson