1
0
Fork 0
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:
Fred Chasen 2016-10-27 00:46:56 +02:00
parent a4e76029d4
commit 151dc97d19
28 changed files with 677 additions and 3049 deletions

View file

@ -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",