Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zoubin/dedupe-with-factor-bundle

Bug example for using factor-bundle when dedupe happens
https://github.com/zoubin/dedupe-with-factor-bundle

Last synced: 8 days ago
JSON representation

Bug example for using factor-bundle when dedupe happens

Awesome Lists containing this project

README

        

# Dedupe problem with factor-bundle
Bug example for using factor-bundle when dedupe happens

## Versions

* browserify: 11.0.1
* factor-bundle: 2.5.0

## Source and build directory

```
⌘ tree src/
src/
├── a.js
├── b.js
├── c.js
└── dups
└── c.js

```

```
⌘ tree build/
build/
├── a.js
├── b.js
└── common.js
```

### src/a.js

```javascript
require('./c');
module.exports = 'a';

```

### src/b.js

```javascript
require('./dups/c');
module.exports = 'b';

```

### src/c.js

```javascript
module.exports = 'c';

```

### build/a.js

```javascript
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o







Dedupe problem with factor-bundle



  • browserify: 11.0.1

  • factor-bundle: 2.5.0