diff --git a/rollup.config.mjs b/rollup.config.mjs index 0657906..c89bcb7 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -9,7 +9,7 @@ export default inputPaths.map((inputPath) => { const inputFilenameWithoutExtension = path.basename(inputPath, ".ts"); return { input: [inputPath], - external: ["jquery", "jcanvas"], + external: ["jquery"], output: [ { file: `dist/umd/${inputFilenameWithoutExtension}.min.js`, diff --git a/src/jcanvas-crescents.ts b/src/jcanvas-crescents.ts index b9f01fd..0262af6 100644 --- a/src/jcanvas-crescents.ts +++ b/src/jcanvas-crescents.ts @@ -3,7 +3,6 @@ * Copyright 2013-2024 Caleb Evans * Released under the MIT license */ -import "jcanvas"; import $ from "jquery"; // Cache some functions and constants diff --git a/src/jcanvas-donuts.ts b/src/jcanvas-donuts.ts index 423191d..c593466 100644 --- a/src/jcanvas-donuts.ts +++ b/src/jcanvas-donuts.ts @@ -3,7 +3,6 @@ * Copyright 2013-2024 Caleb Evans * Released under the MIT license */ -import "jcanvas"; import $ from "jquery"; const PI = Math.PI; diff --git a/src/jcanvas-handles.ts b/src/jcanvas-handles.ts index 1060085..ae5970e 100644 --- a/src/jcanvas-handles.ts +++ b/src/jcanvas-handles.ts @@ -3,7 +3,6 @@ * Copyright 2015-2024 Caleb Evans * Released under the MIT license */ -import "jcanvas"; import $ from "jquery"; interface JCanvasLayerWithHandles extends JCanvasLayer { diff --git a/src/jcanvas-hearts.ts b/src/jcanvas-hearts.ts index 09ba6bc..f004ee8 100644 --- a/src/jcanvas-hearts.ts +++ b/src/jcanvas-hearts.ts @@ -3,7 +3,6 @@ * Copyright 2013-2024 Caleb Evans * Released under the MIT license */ -import "jcanvas"; import $ from "jquery"; const PI = Math.PI;