@jolt/toolchain-javascriptdeprecated

A Jolt toolchain for building JavaScript projects

Usage no npm install needed!

<script type="module">
  import joltToolchainJavascript from 'https://cdn.skypack.dev/@jolt/toolchain-javascript';
</script>

README

@jolt/toolchain-javascript

This package is used to develop JavaScript projects with @jolt/cli

Actions License Donate Follow Us


How To Use This Toolchain?

To make this toolchain the active toolchain for @jolt/cli, first install it.

npm install --save-dev @jolt/toolchain-javascript

then add set the toolchain property in jolt.json to @jolt/toolchain-javascript

{
    "toolchain": "@jolt/toolchain-javascript"
}

What Does This Toolchain Do?

This toolchain powers the development commands for @jolt/cli.

This toolchain also offers some extra config options:

Options

  • targets (default: "> 1.5%, not dead") - a browserlist query for what browsers to target.
  • 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-javascript is licensed under the terms of the MIT license.