v5.1.0 #17
yesiamrocks
announced in
Announcements
v5.1.0
#17
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Version 5.1.0 - 2025-06-09
Features
@rollup/plugin-terser
for robust JavaScript minification.package.json
) into both un-minified (.js
) and minified (.min.js
) output files.import
/export
) syntax. This includespostcss.config.js
, and all scripts within thetools/
directory (extract-class-names.js
,build-animation-index.js
,generate-animation-demo.js
,generate-animation-preview.js
).Refactor
require()
to ES Moduleimport
syntax.import.meta.url
andpath.resolve(__dirname, ...)
, replacing older CommonJS__dirname
patterns for compatibility and robustness./*!
format for reliable preservation by minifiers.Fixes
ReferenceError: require is not defined
errors that occurred after setting"type": "module"
inpackage.json
.This discussion was created from the release v5.1.0.
Beta Was this translation helpful? Give feedback.
All reactions