Skip to content

Commit

Permalink
Fixing names of the packages in the input syntax column (#14762)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiankaegy authored and nosolosw committed Apr 2, 2019
1 parent 30d3328 commit 304d43a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,13 +275,13 @@ The `build` and `start` commands use [webpack](https://webpack.js.org/) behind t

Package | Input syntax | Output
--- | --- | ---
React | `import x from React;` | `var x = window.React.x;`
ReactDOM | `import x from ReactDOM;` | `var x = window.ReactDOM.x;`
moment | `import x from moment;` | `var x = window.moment.x;`
jQuery | `import x from jQuery;` | `var x = window.jQuery.x;`
lodash | `import x from lodash;` | `var x = window.lodash.x;`
lodash-es | `import x from lodash-es;` | `var x = window.lodash.x;`
WordPress packages | `import x from '@wordpress/package-name` | `var x = window.wp.packageName.x`
React | `import x from 'react';` | `var x = window.React.x;`
ReactDOM | `import x from 'react-dom';` | `var x = window.ReactDOM.x;`
moment | `import x from 'moment';` | `var x = window.moment.x;`
jQuery | `import x from 'jquery';` | `var x = window.jQuery.x;`
lodash | `import x from 'lodash';` | `var x = window.lodash.x;`
lodash-es | `import x from 'lodash-es';` | `var x = window.lodash.x;`
WordPress packages | `import x from '@wordpress/package-name'` | `var x = window.wp.packageName.x`

#### Provide your own webpack config

Expand Down

0 comments on commit 304d43a

Please sign in to comment.