Update to version 1.4.0 with new features and bug fixes
Changes and Improvements:
-
Migration to ES Modules:
- Transitioned from
require
toimport
for ES Modules in all relevant files.
- Transitioned from
-
Updated Webpack Configurations:
- Updated
webpack.config.js
andwebpack.dev.js
to support ES Modules and modern JavaScript features. - Ensured simulation of
__dirname
and__filename
in ES Modules.
- Updated
-
TypeScript Configuration:
- Adjusted
tsconfig.json
to ensure compatibility with ES Modules.
- Adjusted
-
Updated NPM Scripts:
- Adjusted NPM scripts in
package.json
to usewebpack serve
fordev
andwatch
.
- Adjusted NPM scripts in
-
Bug Fixes and Optimizations:
- Fixed issues caused by outdated or incompatible packages.
- Ensured all necessary Babel plugins and presets for processing TypeScript and JSX are installed and configured.
This version provides significant improvements and ensures a clean, modern codebase.