Socket
Book a DemoInstallSign in
Socket

coffeescript-loader

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coffeescript-loader

coffeescript 2 loader for webpack

0.0.11
latest
npmnpm
Version published
Maintainers
1
Created
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

webpack

FAQs

Package last updated on 14 Jul 2017

Did you know?

Socket

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.