Socket
Socket
Sign inDemoInstall

coffeescript-loader

Package Overview
Dependencies
6
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    coffeescript-loader

coffeescript 2 loader for webpack


Version published
Weekly downloads
5
increased by150%
Maintainers
1
Install size
158 kB
Created
Weekly downloads
 

Readme

Source

CoffeeScript 2 alpha loader for webpack

CoffeeScript 2 is coming! It adds support for ES2015 classes, async/await, and generates JavaScript using ES2015+ syntax. Learn more

Usage

var exportsOfFile = require("coffeescript!./file.coffee");
// => return exports of executed and compiled file.coffee

var exportsOfFile2 = require("coffeescript?literate!./file.litcoffee");
// can also compile literate files.

Documentation: Using loaders

{
  module: {
    loaders: [
      { test: /\.coffee$/, loader: "coffeescript-loader" },
      { test: /\.(coffee\.md|litcoffee)$/, loader: "coffeescript-loader?literate" }
    ]
  }
}

License

MIT (http://www.opensource.org/licenses/mit-license.php)

Keywords

FAQs

Last updated on 14 Jul 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc