Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sam-parsons/snowpack-plugin-coffeescript
coffeescript loader for snowpack
https://github.com/sam-parsons/snowpack-plugin-coffeescript
coffeescript snowpack-plugin
Last synced: about 2 months ago
JSON representation
coffeescript loader for snowpack
- Host: GitHub
- URL: https://github.com/sam-parsons/snowpack-plugin-coffeescript
- Owner: sam-parsons
- License: mit
- Created: 2021-05-24T01:08:46.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-06-14T22:52:05.000Z (over 3 years ago)
- Last Synced: 2024-11-16T10:37:02.161Z (2 months ago)
- Topics: coffeescript, snowpack-plugin
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/snowpack-plugin-coffeescript
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[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/result?p=snowpack-plugin-coffeescript[![npm][npm]][npm-url]
[![size][size]][size-url]
[![libera manifesto](https://img.shields.io/badge/libera-manifesto-lightgrey.svg)](https://liberamanifesto.com)# snowpack-plugin-coffeescript
Snowpack plugin the compiles CoffeeScript2 into ES5 JavaScript.
## Requirements
This plugin requires an [LTS](https://github.com/nodejs/Release) Node version (v8.0.0+) and Snowpack v2.0.0+.
## Install
Using npm:
```console
npm install --save-dev snowpack-plugin-coffeescript
```## Usage
Create a `snowpack.config.js` [configuration file](https://www.snowpack.dev/reference/configuration) and insert the `'snowpack-plugin-coffeescript'` with the `plugin` property's array.
```js
const dsv = require('snowpack-plugin-coffeescript');module.exports = {
mount: {
public: { url: '/', static: true },
src: { url: '/dist' },
},
plugins: ['snowpack-plugin-coffeescript'],
};
```## Meta
[LICENSE (MIT)](./LICENSE.md)