mirror of
https://github.com/chaijs/chai
synced 2024-11-14 15:57:10 +00:00
Provided browser field in package.json
Some tools use the browser field in the package.json to use an alternate main file. This is e.g. the case for rollup-plugin-node-resolve (https://github.com/rollup/rollup-plugin-node-resolve). Specs: https://github.com/defunctzombie/package-browser-field-spec#alternate-main---basic
This commit is contained in:
parent
5a0aa5984e
commit
8c2bcde42d
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
|||
"url": "https://github.com/chaijs/chai/issues"
|
||||
},
|
||||
"main": "./index",
|
||||
"browser": "./chai.js",
|
||||
"scripts": {
|
||||
"test": "make test"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue