browserify / browserify/bundle-collapser
From CommonJS to ES!?
Open
- Dominant language
- JavaScript
- Stars
- 191
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
How do I convert
```
const collapse = require('bundle-collapser/plugin');
```
to
```
import collapse from 'bundle-collapser/plugin';
```
I've tried this (along a trillion other wild guesses)
```
import { plugin as collapse } from 'bundle-collapser';
import * as collapse from 'bundle-collapser';
import * as collapse from 'bundle-collapser/plugin';
import { plugin as collapse } from 'bundle-collapser/plugin';
```
But Gulp keeps crashing …
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.