mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Updated to webpack 2
This commit is contained in:
parent
a24dfa712f
commit
52da64d723
9 changed files with 10100 additions and 10010 deletions
17311
dist/epub.js
vendored
17311
dist/epub.js
vendored
File diff suppressed because it is too large
Load diff
2
dist/epub.js.map
vendored
2
dist/epub.js.map
vendored
File diff suppressed because one or more lines are too long
8
dist/epub.min.js
vendored
8
dist/epub.min.js
vendored
File diff suppressed because one or more lines are too long
2760
dist/polyfills.js
vendored
2760
dist/polyfills.js
vendored
File diff suppressed because it is too large
Load diff
2
dist/polyfills.js.map
vendored
2
dist/polyfills.js.map
vendored
File diff suppressed because one or more lines are too long
16
dist/polyfills.min.js
vendored
16
dist/polyfills.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -25,7 +25,6 @@ var Server = require('karma').Server;
|
||||||
// modify some webpack config options
|
// modify some webpack config options
|
||||||
var watchConfig = Object.create(webpackConfig);
|
var watchConfig = Object.create(webpackConfig);
|
||||||
watchConfig.devtool = "sourcemap";
|
watchConfig.devtool = "sourcemap";
|
||||||
watchConfig.debug = true;
|
|
||||||
watchConfig.watch = true;
|
watchConfig.watch = true;
|
||||||
|
|
||||||
// create a single instance of the compiler to allow caching
|
// create a single instance of the compiler to allow caching
|
||||||
|
|
|
@ -46,16 +46,14 @@
|
||||||
"uglify": "^0.1.5",
|
"uglify": "^0.1.5",
|
||||||
"vinyl-buffer": "^1.0.0",
|
"vinyl-buffer": "^1.0.0",
|
||||||
"vinyl-source-stream": "^1.1.0",
|
"vinyl-source-stream": "^1.1.0",
|
||||||
"webpack": "^1.13.2",
|
"webpack": "^v2.1.0-beta.25",
|
||||||
"webpack-dev-middleware": "^1.8.4",
|
"webpack-dev-middleware": "^1.8.4",
|
||||||
"webpack-dev-server": "^1.16.2"
|
"webpack-dev-server": "^v2.1.0-beta.10"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"es6-promise": "^4.0.5",
|
"es6-promise": "^4.0.5",
|
||||||
"event-emitter": "^0.3.4",
|
"event-emitter": "^0.3.4",
|
||||||
"jszip": "^3.1.1",
|
"jszip": "^3.1.1",
|
||||||
"rsvp": "^3.0.18",
|
|
||||||
"urijs": "^1.17.0",
|
|
||||||
"xmldom": "^0.1.22"
|
"xmldom": "^0.1.22"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,8 +11,8 @@ module.exports = {
|
||||||
},
|
},
|
||||||
devtool: 'source-map',
|
devtool: 'source-map',
|
||||||
output: {
|
output: {
|
||||||
// path: path.resolve("./dist"),
|
path: path.resolve("./dist"),
|
||||||
path: "./dist",
|
// path: "./dist",
|
||||||
filename: "[name].js",
|
filename: "[name].js",
|
||||||
sourceMapFilename: "[name].js.map",
|
sourceMapFilename: "[name].js.map",
|
||||||
library: "ePub",
|
library: "ePub",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue