remove externals in favor of npm packages

This commit is contained in:
jfh
2020-09-13 12:08:05 +02:00
parent 6379335d6a
commit ff711f080b
16 changed files with 11 additions and 6256 deletions

View File

@@ -12,10 +12,6 @@
<!-- As yet no ES6 -->
<script src="../../jquery.min.js"></script>
<!-- ES6+ polyfills (Babel) -->
<script src="../../external/core-js-bundle/minified.js"></script>
<script src="../../external/regenerator-runtime/runtime.js"></script>
<script type="module" src="index.js"></script>
</head>
<body>

View File

@@ -9,13 +9,6 @@
<script nomodule="" src="../../redirect-on-no-module-support.js"></script>
<script type="module" src="../../redirect-on-lacking-support.js"></script>
<!-- Browser polyfills -->
<script src="../../external/dom-polyfill/dom-polyfill.js"></script>
<!-- ES6+ polyfills (Babel) -->
<script src="../../external/core-js-bundle/minified.js"></script>
<script src="../../external/regenerator-runtime/runtime.js"></script>
<script type="module" src="openclipart.js"></script>
</head>
<body>

View File

@@ -1,4 +1,5 @@
import {jml, body, nbsp} from '../../../external/jamilih/jml-es.js';
// eslint-disable-next-line node/no-unpublished-import
import {jml, body, nbsp} from 'jamilih';
import $ from '../../../external/query-result/esm/index.js';
import {manipulation} from '../../../external/qr-manipulation/dist/index-es.js';

View File

@@ -7,7 +7,7 @@
* adopted for moinmoins item storage. It sends in one post png and svg data
* (I agree to dual license my work to additional GPLv2 or later)
*/
import {canvg} from '../../../external/canvg/canvg.js';
import {Canvg as canvg} from 'canvg';
const loadExtensionTranslation = async function (lang) {
let translationModule;

View File

@@ -6,7 +6,7 @@
* @copyright 2010 Alexis Deveria
*
*/
import {canvg} from '../../../external/canvg/canvg.js';
import {Canvg as canvg} from 'canvg';
const loadExtensionTranslation = async function (lang) {
let translationModule;