Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

chore(package.json): use browser field#282

Closed
PatrickJS wants to merge 1 commit intoangular:masterfrom
PatrickJS:patch-2
Closed

chore(package.json): use browser field#282
PatrickJS wants to merge 1 commit intoangular:masterfrom
PatrickJS:patch-2

Conversation

@PatrickJS
Copy link
Copy Markdown
Contributor

@PatrickJS
Copy link
Copy Markdown
Contributor Author

also consider zone.js/browser and zone.js/node. you can expose js and d.ts files at the root to require dist/

./node.js

require('dist/zone-node.js');

./node.d.ts

import 'dist/zone';

./browser.js

require('dist/zone.js');

./browser.d.ts

import 'dist/zone';

then you can also do zone.js/browser and zone.js/node with types

@mhevery mhevery closed this in 5e72c01 Mar 21, 2016
@PatrickJS PatrickJS deleted the patch-2 branch March 21, 2016 18:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant