Closed connono closed 1 week ago
@benfred Just a friendly ping on this.
The latest version of fmin
on npm (which is 0.0.2
) declares rollup
, jshint
, tape
and so on as devDependencies
. Though the fmin
has already corrected this on GitHub, but the fixes were never published to the npm.
I hope #16 is a prompt to deploy these changes
The latest version of fmin on npm (which is 0.0.2) declares rollup, jshint, tape and so on as devDependencies. Though the fmin has already corrected this on GitHub, but the fixes were never published to the npm.
Yes, it is very helpful if new version with https://github.com/benfred/fmin/commit/8974eb211dce463036de581fa6f3cae7925a5a52 get published
My workaround to exclude fmin's accidentally-included dependencies
resolutions
to package.json: "resolutions": {
"fmin/rollup": "npm:empty-npm-package@1.0.0",
"fmin/json2module": "npm:empty-npm-package@1.0.0",
"fmin/tape": "npm:empty-npm-package@1.0.0",
"fmin/uglify-js": "npm:empty-npm-package@1.0.0"
},
yarn add fmin
. overrides
to package.json: "overrides": {
"fmin": {
"rollup": "npm:empty-npm-package@1.0.0",
"json2module": "npm:empty-npm-package@1.0.0",
"tape": "npm:empty-npm-package@1.0.0",
"uglify-js": "npm:empty-npm-package@1.0.0"
}
},
npm install fmin
(with -D
if needed). pnpm.overrides
to the root package.json:
"pnpm": {
"overrides": {
"fmin>json2module": "npm:empty-npm-package@1.0.0",
"fmin>rollup": "npm:empty-npm-package@1.0.0",
"fmin>tape": "npm:empty-npm-package@1.0.0",
"fmin>uglify-js": "npm:empty-npm-package@1.0.0"
}
}
pnpm install
"pnpm": {
"overrides": {
"fmin>json2module": "-",
"fmin>rollup": "-",
"fmin>tape": "-",
"fmin>uglify-js": "-"
}
}
pnpm install
pushed out latest changes to https://www.npmjs.com/package/fmin - let me know if this resolves
@benfred Can confirm 0.0.4
includes the latest commits. Thanks!
I found that fmin had been modified in 2018 without a new release. Can you release the latest version of fmin?