Hi,
for a specific application I cannot use NPM or YART to install the svg.filter.js plugin.
I tried to import into my script file like the following:
<script src="../factorynex/distr/svg/svg.min.js"></script> <script src="../factorynex/distr/svg/svg.filter.js"></script>
but something went wrong because the browser console replied to me the following:
Uncaught SyntaxError: Cannot use import statement outside a module (at svg.filter.js:1:1)
the issue rised up here into the svg.filter.js:
import { Array as SVGArray, Container, Defs, Element, extend, find, namespaces as ns, nodeOrNew, utils, wrapWithAttrCheck } from '@svgdotjs/svg.js'
could someone help me on solve this issue?
Thanks