mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Switch to Native Promises, add polyfills.js in dist folder
This commit is contained in:
parent
a4e76029d4
commit
151dc97d19
28 changed files with 677 additions and 3049 deletions
|
@ -7,10 +7,12 @@ var port = "8080";
|
|||
module.exports = {
|
||||
entry: {
|
||||
epub: "./src/epub.js",
|
||||
polyfills: ["./node_modules/es6-promise/dist/es6-promise.auto.js"]
|
||||
},
|
||||
devtool: 'source-map',
|
||||
output: {
|
||||
path: path.resolve("./dist"),
|
||||
// path: path.resolve("./dist"),
|
||||
path: "./dist",
|
||||
filename: "[name].js",
|
||||
sourceMapFilename: "[name].js.map",
|
||||
library: "ePub",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue