sam-parsons / snowpack-plugin-coffeescript

coffeescript loader for snowpack

Home Page:https://www.npmjs.com/package/snowpack-plugin-coffeescript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm size libera manifesto

snowpack-plugin-coffeescript

Snowpack plugin the compiles CoffeeScript2 into ES5 JavaScript.

Requirements

This plugin requires an LTS Node version (v8.0.0+) and Snowpack v2.0.0+.

Install

Using npm:

npm install --save-dev snowpack-plugin-coffeescript

Usage

Create a snowpack.config.js configuration file and insert the 'snowpack-plugin-coffeescript' with the plugin property's array.

const dsv = require('snowpack-plugin-coffeescript');

module.exports = {
  mount: {
    public: { url: '/', static: true },
    src: { url: '/dist' },
  },
  plugins: ['snowpack-plugin-coffeescript'],
};

Meta

LICENSE (MIT)

About

coffeescript loader for snowpack

https://www.npmjs.com/package/snowpack-plugin-coffeescript

License:MIT License


Languages

Language:JavaScript 100.0%