mirror of
https://github.com/Didericis/bare-bundle-transform-plugin-babel.git
synced 2026-06-26 01:55:17 -04:00
chore: add tests, gh actions and prettier config
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* Matches any unicode character between "foo" and "bar"
|
||||
* @param {string} str
|
||||
* @returns {boolean}
|
||||
*/
|
||||
function fooBar(str) {
|
||||
return str.match(/\p{L}/gu)
|
||||
}
|
||||
|
||||
module.exports = fooBar
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "foo-bar",
|
||||
"version": "0.0.1",
|
||||
"description": "Dummy package that should be transformed",
|
||||
"main": "index.js"
|
||||
}
|
||||
Reference in New Issue
Block a user