Use require, not import, for SVG renderer

This commit is contained in:
Christopher Willis-Ford
2018-01-12 13:12:55 -08:00
parent f45442f879
commit bc423cef46
2 changed files with 2 additions and 4 deletions

View File

@@ -2,8 +2,7 @@ const twgl = require('twgl.js');
const Silhouette = require('./Silhouette');
const Skin = require('./Skin');
import SvgRenderer from 'scratch-svg-renderer';
const SvgRenderer = require('scratch-svg-renderer');
class SVGSkin extends Skin {
/**