smarr / are-we-fast-yet

Are We Fast Yet? Comparing Language Implementations with Objects, Closures, and Arrays
Other
318 stars 36 forks source link

Add Babel to Webpack config to be able to compile to ECMAScript 5 #78

Closed smarr closed 1 year ago

smarr commented 1 year ago

Just running npm install . && npm run webpack will generate a plain es5 compatible dist/harness.js file.

Without babel, we would get a single file version of AWFY, which may also be useful for some runtime systems.

smarr commented 1 year ago

The last change adapts the webpack config to produce ES5 and ES2022 files, and adds a README.