1
0
Gildas 4 жил өмнө
parent
commit
9517c8b976

+ 8 - 0
rollup.config.dev.js

@@ -44,6 +44,14 @@ export default [{
 		format: "iife",
 		plugins: []
 	}]
+}, {
+	input: ["extension/index.js"],
+	output: [{
+		file: "dist/extension-core.js",
+		format: "umd",
+		name: "extension",
+		plugins: []
+	}]
 }, {
 	input: ["extension/core/content/content.js"],
 	output: [{

+ 8 - 0
rollup.config.js

@@ -46,6 +46,14 @@ export default [{
 		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: [{