mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
WIP: Update to Webpack 4 and Babel 7 (#835)
* Update to Webpack 4 and Babel 7 * Update karma tests * Update browserlist, fix tests, remove all requires * Update karma browserlist query * Update webpack externals * remove gulp and serve * Fix webpack for karma * Fix test externals
This commit is contained in:
parent
50fcbb22f5
commit
cb4facb6c2
24 changed files with 10292 additions and 13954 deletions
|
@ -1,4 +1,7 @@
|
|||
var assert = require('assert');
|
||||
import assert from 'assert';
|
||||
import Url from '../src/utils/url';
|
||||
import Path from '../src/utils/path';
|
||||
|
||||
describe('Core', function() {
|
||||
|
||||
|
||||
|
@ -9,8 +12,6 @@ describe('Core', function() {
|
|||
|
||||
describe('Url', function () {
|
||||
|
||||
var Url = require('../src/utils/url');
|
||||
|
||||
it("Url()", function() {
|
||||
var url = new Url("http://example.com/fred/chasen/derf.html");
|
||||
|
||||
|
@ -90,8 +91,6 @@ describe('Core', function() {
|
|||
|
||||
describe('Path', function () {
|
||||
|
||||
var Path = require('../src/utils/path');
|
||||
|
||||
it("Path()", function() {
|
||||
var path = new Path("/fred/chasen/derf.html");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue