chore: comment update - required to import
Signed-off-by: acalcutt <acalcutt@techidiots.net>
This commit is contained in:
parent
689576b168
commit
e1c46d4ef6
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
// sharp has to be required before node-canvas on linux. see https://github.com/lovell/sharp/issues/371
|
||||
// sharp has to be imported before node-canvas on linux. see https://github.com/lovell/sharp/issues/371
|
||||
import sharp from 'sharp';
|
||||
import { createCanvas, Image } from 'canvas';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
// sharp has to be required after node-canvas on windows. see https://github.com/Automattic/node-canvas/issues/2155#issuecomment-1487190125
|
||||
// sharp has to be imported after node-canvas on windows. see https://github.com/Automattic/node-canvas/issues/2155#issuecomment-1487190125
|
||||
import { createCanvas, Image } from 'canvas';
|
||||
import sharp from 'sharp';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue