Skip to content

Commit 3d4a616

Browse files
authored
Merge pull request #38 from elwayman02/patch-1
README Cleanup
2 parents fa4173b + c3ec656 commit 3d4a616

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This provides debug macros and feature flagging.
44

55
## Setup
66

7-
The plugin takes 5 types options: `envFlags`, `features`, `debugTools`, `externalizeHelpers` and `svelte`. The `importSpecifier` is used as a hint to this plugin as to where macros are being imported and completely configurable by the host. Like Babel you can supply you're own helpers using the `externalizeHelpers` options.
7+
The plugin takes 5 types options: `envFlags`, `features`, `debugTools`, `externalizeHelpers` and `svelte`. The `importSpecifier` is used as a hint to this plugin as to where macros are being imported and completely configurable by the host. Like Babel you can supply your own helpers using the `externalizeHelpers` options.
88

99
```
1010
{
@@ -39,7 +39,7 @@ The plugin takes 5 types options: `envFlags`, `features`, `debugTools`, `externa
3939
}
4040
```
4141

42-
Flags and features are inlined into consuming module so that something like UglifyJS with DCE them when they are unreachable.
42+
Flags and features are inlined into the consuming module so that something like UglifyJS will DCE them when they are unreachable.
4343

4444
## Simple environment and fetaure flags
4545

@@ -129,7 +129,7 @@ let foo = 2;
129129

130130
## Externalized Helpers
131131

132-
When you externalize helpers you must provide runtime implementations for the above macros. An expansion will still occur however we will use emit references to those runtime helpers.
132+
When you externalize helpers you must provide runtime implementations for the above macros. An expansion will still occur, however we will emit references to those runtime helpers.
133133

134134
A global expansion looks like the following:
135135

@@ -161,9 +161,9 @@ Expands into:
161161

162162
# Svelte
163163

164-
Svelte allows for consumers to opt into stripping deprecated code from your dependecies. By adding a package name and minimum version that contains no deprecations that code will be compiled away.
164+
Svelte allows for consumers to opt into stripping deprecated code from your dependecies. By adding a package name and minimum version that contains no deprecations, that code will be compiled away.
165165

166-
For example, consider you are on `[email protected]` and you have no deprecations all deprecated code in `ember-source` that is `<=2.10.0` will be removed.
166+
For example, consider you are on `[email protected]` and you have no deprecations. All deprecated code in `ember-source` that is `<=2.10.0` will be removed.
167167

168168
```
169169
...
@@ -183,4 +183,4 @@ svelte: {
183183

184184
# Hygenic
185185

186-
As you may notice that we inject `DEBUG` into the code when we expand the macro. We gurantee that the binding is unique when injected and follow the local binding name if it is imported directly.
186+
As you may notice that we inject `DEBUG` into the code when we expand the macro. We guarantee that the binding is unique when injected and follow the local binding name if it is imported directly.

0 commit comments

Comments
 (0)