Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 769 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 769 Bytes

Library template

This project was bootstraped with Yarn 2. Please, refer to their migration guide if something goes south.

Configurint Babel

This project is build only as ESModule; to keep our bundled code as clean as possible, I try to use the latest possible ECMAScript version as target. That mean, if you have to support browsers that don't support certain modern ECMAScript features, you may want to configure your build tools accordingly. Here's an example for Babel:

// babel.config.js
const path = require('path');
module.exports {
  include: [
    ...,
    path.resolve('node_modules/@welingtonms/library'),
  ],
  ...
}