Skip to content

Commit 5a12672

Browse files
Provide a way to easily import the lib in a browserify project
1 parent 1f08811 commit 5a12672

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## 1.2.4
4+
5+
* Provide a way to easily import the lib in a browserify project.
6+
37
## 1.2.3
48

59
* Provide the lib as a ES2015 module and umd module to please everyone.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fancy-textfill",
3-
"version": "1.2.3",
3+
"version": "1.2.4",
44
"description": "Fast implementation for resizing text to fill its container.",
55
"main": "es2015/index.js",
66
"repository": "https://github.com/fazouane-marouane/fancy-textfill",
@@ -18,6 +18,7 @@
1818
}
1919
}
2020
},
21+
"browserify": { "transform": [["babelify", { "presets": ["es2015"] }]] },
2122
"scripts": {
2223
"build": "neutrino build && tsc --outDir es2015",
2324
"test": "NODE_ENV=development intern-runner config=test/intern"

0 commit comments

Comments
 (0)