Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

buble-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

buble-loader - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

yarn.lock

2

index.js

@@ -29,3 +29,3 @@ 'use strict';

module.exports = function BubleLoader(source, inputSourceMap) {
var loaderOptions = loaderUtils.parseQuery(this.query);
var loaderOptions = typeof this.query === 'string' ? loaderUtils.parseQuery(this.query) : this.query;
var transformed;

@@ -32,0 +32,0 @@ try {

{
"name": "buble-loader",
"version": "0.4.0",
"version": "0.4.1",
"description": "lightweight ES2015 source loader for Webpack using Buble",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -8,20 +8,21 @@ # buble-loader

## Installation
npm install --save-dev buble-loader buble
```bash
npm install --save-dev buble-loader buble
```
## Usage
Add this to your `webpack.config.js`
module: {
loaders: [
{
test: /.js$/,
loaders: 'buble',
include: path.join(__dirname, 'src'),
query: {
objectAssign: 'Object.assign'
}
}
]
```js
module: {
loaders: [
{
test: /.js$/,
loaders: 'buble',
include: path.join(__dirname, 'src'),
query: {
objectAssign: 'Object.assign'
}
}
]
}
```
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc