| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- import { terser } from "rollup-plugin-terser";
- export default [{
- input: ["lib/single-file/index.js"],
- output: [{
- file: "dist/single-file.js",
- format: "umd",
- name: "singlefile",
- plugins: [terser()]
- }]
- }, {
- input: ["lib/single-file/single-file-frames.js"],
- output: [{
- file: "dist/single-file-frames.js",
- format: "umd",
- name: "singlefile",
- plugins: [terser()]
- }]
- }, {
- input: ["lib/single-file/single-file-bootstrap.js"],
- output: [{
- file: "dist/single-file-bootstrap.js",
- format: "umd",
- name: "singlefileBootstrap",
- plugins: [terser()]
- }]
- }, {
- input: ["common/ui/content/content-infobar.js"],
- output: [{
- file: "dist/infobar.js",
- format: "umd",
- name: "infobar",
- plugins: [terser()]
- }]
- }, {
- input: ["extension/core/content/content-bootstrap.js"],
- output: [{
- file: "dist/extension-bootstrap.js",
- format: "iife",
- plugins: [terser()]
- }]
- }, {
- input: ["extension/core/content/content-frames.js"],
- output: [{
- file: "dist/extension-frames.js",
- format: "iife",
- plugins: [terser()]
- }]
- }, {
- input: ["extension/index.js"],
- output: [{
- file: "dist/extension-core.js",
- format: "umd",
- name: "extension",
- plugins: [terser()]
- }]
- }, {
- input: ["extension/core/content/content.js"],
- output: [{
- file: "dist/extension.js",
- format: "iife",
- plugins: [terser()]
- }]
- }, {
- input: ["lib/single-file/processors/hooks/content/content-hooks-web.js"],
- output: [{
- file: "dist/web/hooks/hooks-web.js",
- format: "iife",
- plugins: [terser()]
- }]
- }, {
- input: ["lib/single-file/processors/hooks/content/content-hooks-frames-web.js"],
- output: [{
- file: "dist/web/hooks/hooks-frames-web.js",
- format: "iife",
- plugins: [terser()]
- }]
- }, {
- input: ["common/ui/content/content-infobar-web.js"],
- output: [{
- file: "dist/web/infobar-web.js",
- format: "iife",
- plugins: [terser()]
- }]
- }, {
- input: ["extension/ui/content/content-ui-editor-init-web.js"],
- output: [{
- file: "dist/web/editor/editor-init-web.js",
- format: "iife",
- plugins: [terser()]
- }]
- }, {
- input: ["extension/ui/content/content-ui-editor-web.js"],
- output: [{
- file: "dist/web/editor/editor-web.js",
- format: "iife",
- plugins: []
- }]
- }, {
- input: ["extension/ui/content/content-ui-editor-helper-web"],
- output: [{
- file: "dist/web/editor/editor-helper-web.js",
- format: "umd",
- name: "singlefile",
- plugins: [terser()]
- }]
- }, {
- input: ["extension/lib/single-file/browser-polyfill/chrome-browser-polyfill.js"],
- output: [{
- file: "dist/chrome-browser-polyfill.js",
- format: "iife",
- plugins: [terser()]
- }]
- }];
|