@lopatnov/rollup-plugin-uglify 2.1.4 → 2.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -2
- package/dist/plugin.es.js +2198 -1
- package/dist/plugin.es.js.map +1 -1
- package/dist/plugin.js +2245 -44
- package/dist/plugin.js.map +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -30,13 +30,13 @@ npm install @lopatnov/rollup-plugin-uglify --save-dev
|
|
|
30
30
|
|
|
31
31
|
### Import package to the project
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
ESM import
|
|
34
34
|
|
|
35
35
|
```typescript
|
|
36
36
|
import uglify from "@lopatnov/rollup-plugin-uglify";
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
CJS require
|
|
40
40
|
|
|
41
41
|
```javascript
|
|
42
42
|
var uglify = require("@lopatnov/rollup-plugin-uglify");
|
|
@@ -83,6 +83,14 @@ export default {
|
|
|
83
83
|
|
|
84
84
|
A valid minimatch pattern, or array of patterns to include / exclude files. If `include` is omitted or has zero length, filter will return true by default. Otherwise, an ID must match one or more of the minimatch patterns, and must not match any of the `exclude` patterns.
|
|
85
85
|
|
|
86
|
+
## Troubleshooting
|
|
87
|
+
|
|
88
|
+
### Issue 13: cannot find module @rollup/pluginutils
|
|
89
|
+
|
|
90
|
+
Versions migration: 2.1.2 -> 2.1.4
|
|
91
|
+
|
|
92
|
+
[rollup-pluginutils](https://github.com/rollup/rollup-pluginutils) has moved and is now available at [@rollup/pluginutils](https://www.npmjs.com/package/@rollup/pluginutils). The best way is to update dependency to `@rollup/pluginutils` as in [documentation](https://rollupjs.org/guide/en/#transformers) or use version `2.1.2` that don't have conflict with `rollup-pluginutils`.
|
|
93
|
+
|
|
86
94
|
## Donate
|
|
87
95
|
|
|
88
96
|
[![Charity Health][charity_health]][dobro]
|