1
0

rollup.config.dev.js 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. export default [{
  2. input: ["lib/single-file/index.js"],
  3. output: [{
  4. file: "dist/single-file.js",
  5. format: "umd",
  6. name: "singlefile",
  7. plugins: []
  8. }]
  9. }, {
  10. input: ["lib/single-file/single-file-frames.js"],
  11. output: [{
  12. file: "dist/single-file-frames.js",
  13. format: "umd",
  14. name: "singlefile",
  15. plugins: []
  16. }]
  17. }, {
  18. input: ["lib/single-file/single-file-bootstrap.js"],
  19. output: [{
  20. file: "dist/single-file-bootstrap.js",
  21. format: "umd",
  22. name: "singlefileBootstrap",
  23. plugins: []
  24. }]
  25. }, {
  26. input: ["common/ui/content/content-infobar.js"],
  27. output: [{
  28. file: "dist/infobar.js",
  29. format: "umd",
  30. name: "infobar",
  31. plugins: []
  32. }]
  33. }, {
  34. input: ["extension/core/content/content-bootstrap.js"],
  35. output: [{
  36. file: "dist/extension-bootstrap.js",
  37. format: "iife",
  38. plugins: []
  39. }]
  40. }, {
  41. input: ["extension/core/content/content-frames.js"],
  42. output: [{
  43. file: "dist/extension-frames.js",
  44. format: "iife",
  45. plugins: []
  46. }]
  47. }, {
  48. input: ["extension/core/content/content.js"],
  49. output: [{
  50. file: "dist/extension.js",
  51. format: "iife",
  52. plugins: []
  53. }]
  54. }, {
  55. input: ["lib/single-file/processors/hooks/content/content-hooks-web.js"],
  56. output: [{
  57. file: "dist/web/hooks/hooks-web.js",
  58. format: "iife",
  59. plugins: []
  60. }]
  61. }, {
  62. input: ["lib/single-file/processors/hooks/content/content-hooks-frames-web.js"],
  63. output: [{
  64. file: "dist/web/hooks/hooks-frames-web.js",
  65. format: "iife",
  66. plugins: []
  67. }]
  68. }, {
  69. input: ["common/ui/content/content-infobar-web.js"],
  70. output: [{
  71. file: "dist/web/infobar-web.js",
  72. format: "iife",
  73. plugins: []
  74. }]
  75. }, {
  76. input: ["extension/ui/content/content-ui-editor-init-web.js"],
  77. output: [{
  78. file: "dist/web/editor/editor-init-web.js",
  79. format: "iife",
  80. plugins: []
  81. }]
  82. }, {
  83. input: ["extension/ui/content/content-ui-editor-web.js"],
  84. output: [{
  85. file: "dist/web/editor/editor-web.js",
  86. format: "iife",
  87. plugins: []
  88. }]
  89. }, {
  90. input: ["extension/lib/single-file/browser-polyfill/chrome-browser-polyfill.js"],
  91. output: [{
  92. file: "dist/chrome-browser-polyfill.js",
  93. format: "iife",
  94. plugins: []
  95. }]
  96. }];