Skip to content

Commit 2c7aca3

Browse files
committed
Remove a big bluebird
1 parent 95a2c89 commit 2c7aca3

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mintuz/react-css-loader",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"main": "dist/index.js",
55
"private": false,
66
"description": "A React high order component that provides functionality for tree shaking CSS per component",
@@ -42,7 +42,6 @@
4242
},
4343
"author": "Adam Bulmer",
4444
"dependencies": {
45-
"bluebird": "^3.5.1",
4645
"react": "^16.4.1",
4746
"react-dom": "^16.4.1",
4847
"react-tree-walker": "^4.1.0"

src/adapter/file.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import Promise from 'bluebird';
1+
import util from 'util';
22
import fs from 'fs';
33

4-
const readFile = Promise.promisify(fs.readFile);
4+
const readFile = util.promisify(fs.readFile);
55

66
function fileExists(filePath) {
77
try {

0 commit comments

Comments
 (0)