Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Use browser field in package.json instead of main field #556

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions empty.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// placeholder file for nodejs
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"engines": {
"node": ">= 0.8.0"
},
"main": "./dist/picturefill",
"main": "empty.js",
"browser": "./dist/picturefill",
"scripts": {
"test": "grunt test --verbose"
},
Expand Down