@jolt/toolchain-typescript v5.0.9
@jolt/toolchain-typescript
This package is used to develop TypeScript projects with @jolt/cli
How To Use This Toolchain?
To make this toolchain the active toolchain for @jolt/cli, first install it.
npm install --save-dev @jolt/toolchain-typescript
then add set the toolchain
property in jolt.json
to @jolt/toolchain-typescript
{
"toolchain": "@jolt/toolchain-typescript"
}
Setup TypeScript
Once you set the toolchain, all thats left to do for setting up TypeScript is changing your file extensions from .js
to .ts
.
Optionally you can also add a tsconfig.json
file to set your own typescript compiler settings.
What Does This Toolchain Do?
This toolchain powers the development commands for @jolt/cli.
This toolchain also offers some extra config options:
Options
- minify (default: true) - determines whether or not the template and css sourcecode should be minified.
- sourcemap (default: false) - determines whether or not sourcemaps are generated.
- preamble (default: null) - text to append to the top of the bundle.
- mappings (default: null) - object that maps aliases to file paths.
- devServer (default: null) - @jolt/server options.
Reporting Issues
If you are having trouble getting something to work with this toolchain, you can ask in our discord or create a new Issue.
If you find a bug or if something is not working properly, you can report it by creating a new Issue.
If this toolchain 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.
You can contact Outwalk Studios directly using support@outwalkstudios.com
License
@jolt/toolchain-typescript is licensed under the terms of the MIT license.
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago