Prechádzať zdrojové kódy

add config file for dev

Gildas 5 rokov pred
rodič
commit
2b8c34c352
1 zmenil súbory, kde vykonal 96 pridanie a 0 odobranie
  1. 96 0
      rollup.config.dev.js

+ 96 - 0
rollup.config.dev.js

@@ -0,0 +1,96 @@
+export default [{
+	input: ["lib/single-file/index.js"],
+	output: [{
+		file: "dist/single-file.js",
+		format: "umd",
+		name: "singlefile",
+		plugins: []
+	}]
+}, {
+	input: ["lib/single-file/single-file-frames.js"],
+	output: [{
+		file: "dist/single-file-frames.js",
+		format: "umd",
+		name: "singlefile",
+		plugins: []
+	}]
+}, {
+	input: ["lib/single-file/single-file-bootstrap.js"],
+	output: [{
+		file: "dist/single-file-bootstrap.js",
+		format: "umd",
+		name: "singlefileBootstrap",
+		plugins: []
+	}]
+}, {
+	input: ["common/ui/content/content-infobar.js"],
+	output: [{
+		file: "dist/infobar.js",
+		format: "umd",
+		name: "infobar",
+		plugins: []
+	}]
+}, {
+	input: ["extension/core/content/content-bootstrap.js"],
+	output: [{
+		file: "dist/extension-bootstrap.js",
+		format: "iife",
+		plugins: []
+	}]
+}, {
+	input: ["extension/core/content/content-frames.js"],
+	output: [{
+		file: "dist/extension-frames.js",
+		format: "iife",
+		plugins: []
+	}]
+}, {
+	input: ["extension/core/content/content.js"],
+	output: [{
+		file: "dist/extension.js",
+		format: "iife",
+		plugins: []
+	}]
+}, {
+	input: ["lib/single-file/processors/hooks/content/content-hooks-web.js"],
+	output: [{
+		file: "dist/web/hooks/hooks-web.js",
+		format: "iife",
+		plugins: []
+	}]
+}, {
+	input: ["lib/single-file/processors/hooks/content/content-hooks-frames-web.js"],
+	output: [{
+		file: "dist/web/hooks/hooks-frames-web.js",
+		format: "iife",
+		plugins: []
+	}]
+}, {
+	input: ["common/ui/content/content-infobar-web.js"],
+	output: [{
+		file: "dist/web/infobar-web.js",
+		format: "iife",
+		plugins: []
+	}]
+}, {
+	input: ["extension/ui/content/content-ui-editor-init-web.js"],
+	output: [{
+		file: "dist/web/editor/editor-init-web.js",
+		format: "iife",
+		plugins: []
+	}]
+}, {
+	input: ["extension/ui/content/content-ui-editor-web.js"],
+	output: [{
+		file: "dist/web/editor/editor-web.js",
+		format: "iife",
+		plugins: []
+	}]
+}, {
+	input: ["extension/lib/single-file/browser-polyfill/chrome-browser-polyfill.js"],
+	output: [{
+		file: "dist/chrome-browser-polyfill.js",
+		format: "iife",
+		plugins: []
+	}]
+}];