speedyjs-loader

0.0.19 • Public • Published

WebPack Loader for Speedy.js

npm version

A WebPack loader for Speedy.js.

Getting Started

Install with npm

npm install speedyjs-loader --save-dev

Also install the speedyjs compiler and the TypeScript version to use:

npm install --save-dev speedyjs-compiler MichaReiser/TypeScript#2.3.3-with-int

Add the loader to your WebPack configuration:

return {
    devtool: "#source-map",
    module: {
        rules: [
            {
                test: /\.ts$/,
                loader: "speedyjs-loader",
                options: {
                    speedyJS: { // speedyjs compiler options
                        optimizationLevel: 2,
                        unsafe: false
                    }
                    // optional typescript configurations
                }
            }
        ]
    },
    node: { // do not emulate nodejs modules
        fs: "empty",
        path: "empty"
    }
}

Now you can start using speedy.js in your project.

For more details, go to the main project page.

Example Project

Speedy.js Playground is a running example project.

Readme

Keywords

Package Sidebar

Install

npm i speedyjs-loader

Weekly Downloads

1

Version

0.0.19

License

MIT

Last publish

Collaborators

  • datenmetzgerx