Guest User

Untitled

a guest
Jun 24th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. output: {
  2. //this is the directory where the file will be saved
  3. path: path.resolve(__dirname, "dist"),
  4. // file name of the outputed file
  5. filename: "index.js",
  6. //in this case it will name the module what you put here
  7. library: "index",
  8. // what are you targeting? browser, node, etc. umd targets them all
  9. libraryTarget: "umd",
  10. //says what will get exported if you export default this will export that into the library var name
  11. libraryExport: "default"
  12. },
Add Comment
Please, Sign In to add comment