1
0
Fork 0
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:
Fred Chasen 2020-06-04 21:38:39 -07:00 committed by GitHub
parent 50fcbb22f5
commit cb4facb6c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 10292 additions and 13954 deletions

View file

@ -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");