now you can use directlt svgcanvas. see readme.md * configure workspaces * move svgcanvas to packages folder * move utils to common and paint to svgcanvas * make svgcanvas a dependency of svgedit * update deps * workspaces requires npm 7 at least so the ci needs a new node version * update github actions to V3 * update snapshots using custom svg exports * remove unmaintained cypress snapshot plugin * new github action to add coverage in PR * Update onpushandpullrequest.yml * svgcanvas v7.1.6
8 lines
198 B
JavaScript
8 lines
198 B
JavaScript
const options = {
|
|
files: 'instrumented/**',
|
|
from: "import SvgCanvas from '@svgedit/svgcanvas';",
|
|
to: "import SvgCanvas from '/instrumented/svgcanvas/svgcanvas.js'"
|
|
}
|
|
|
|
module.exports = options
|