snowpack-plugin-coffeescript
v0.0.1
Published
[npm]: https://img.shields.io/npm/v/snowpack-plugin-coffeescript [npm-url]: https://www.npmjs.com/package/snowpack-plugin-coffeescript [size]: https://packagephobia.now.sh/badge?p=snowpack-plugin-coffeescript [size-url]: https://packagephobia.now.sh/resul
Downloads
6
Readme
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'],
};