1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-03 14:59:18 +02:00

Fix rollup input

This commit is contained in:
fredc 2022-04-08 11:27:12 -07:00
parent 6c8f02db9f
commit dce1d943a9
2 changed files with 5 additions and 5 deletions

View file

@ -14,7 +14,7 @@ const plugins = [
export default [ export default [
{ {
input: pkg.module, input: pkg.main,
output: { output: {
name: "ePub", name: "ePub",
file: pkg.browser, file: pkg.browser,
@ -24,7 +24,7 @@ export default [
}, },
{ {
input: pkg.module, input: pkg.main,
output: { output: {
name: "ePub", name: "ePub",
file: "./dist/epub.esm.js", file: "./dist/epub.esm.js",

View file

@ -3,8 +3,8 @@ import commonjs from "@rollup/plugin-commonjs";
import pkg from "./package.json"; import pkg from "./package.json";
import serve from 'rollup-plugin-serve' import serve from 'rollup-plugin-serve';
import livereload from 'rollup-plugin-livereload' import livereload from 'rollup-plugin-livereload';
const plugins = [ const plugins = [
nodeResolve(), nodeResolve(),
@ -13,7 +13,7 @@ const plugins = [
export default [ export default [
{ {
input: pkg.module, input: pkg.main,
output: { output: {
name: 'ePub', name: 'ePub',
file: pkg.browser, file: pkg.browser,