Advertisement
Guest User

Untitled

a guest
Apr 25th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. | | |
  2. | --- | --- |
  3. | entry | This defines where webpack begins its search for imports. In the portal we have 2 entry points, app.js and bootstrap.css. Bootstrap is needed to import the css. |
  4. | output | Path to where the build will be output too |
  5. | resolve | Multiple settings to make life a little easier in a webpack built application: <ul><li> Alias - allows you to define aliases to paths so for instance in code you only say Import x from 'y'; and in the alias section you have a key 'y' pointing to a path</li><li> Root - allows us to add any folder to the root on import </li><li> Extensions - list of extensions to easily import in files</li></ul> |
  6. | stats | Tweaks to console state output |
  7. | node | |
  8. | externals | |
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement