Skip to content

Commit

Permalink
Alias adapters on top level
Browse files Browse the repository at this point in the history
  • Loading branch information
jstcki committed Jun 26, 2017
1 parent 88be020 commit 4ff29d3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions jimp.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./lib/adapters/jimp');
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
"shipit": "scripts/publish"
},
"files": [
"lib"
"lib",
"jimp.js",
"sharp.js"
],
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions sharp.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./lib/adapters/sharp');
2 changes: 1 addition & 1 deletion test/sharp/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = {
loader: require.resolve('../../lib/index'),
options: {
sizes: [500, 750, 1000],
adapter: require('../../lib/adapters/sharp')
adapter: require('../../sharp')
}
}
]
Expand Down

0 comments on commit 4ff29d3

Please sign in to comment.