Skip to content

v.1.1.0

Compare
Choose a tag to compare
@Jay-WKJun Jay-WKJun released this 07 May 13:27
· 5 commits to main since this release
c08a6d4

Summary

These days, almost browsers are now support ESM system, so we can take advantage of ESM system.

so, i choose to support addtional ESM bundle, so that my library user's can take advantage of ESM system without any change of features.

and i choose to Rollup.js bundler to support it.

Webpack does support ESM library bundle but it's experiment version now.

ref: https://webpack.kr/configuration/output/#type-module

Improvement

ESM module

additional ESM module can use.

/* package.json */
"main": "dist/cjs/index.js",
"module": "dist/es/index.js",
"exports": {
  "import": "./dist/es/index.js",
  "require": "./dist/cjs/index.js"
}

Lighter

besides of additional ESM bundle, library isn't go heavier than previous one.

It's lighter than the previous one.

v.1.0.5 v.1.1.0
v 1 0 5 버전 풀어놓은 용량 v 1 1 0 버전 풀어놓은 용량

Same Feature

It has same features as before. It's all same.