mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34:52 +08:00
nodejs fixes, bugs fixes
This commit is contained in:
@@ -18,11 +18,10 @@ files.then((filePaths) => {
|
||||
|
||||
// stupid replacement back
|
||||
text = text.replace(
|
||||
"import * as canvas from 'canvas.js';",
|
||||
"import * as canvas from 'canvas';"
|
||||
"import * as Canvas from 'canvas.js';",
|
||||
"import * as Canvas from 'canvas';"
|
||||
);
|
||||
|
||||
console.log(`writing to ${filepath}`);
|
||||
fs.writeFile(filepath, text, function (err) {
|
||||
if (err) {
|
||||
throw err;
|
||||
|
Reference in New Issue
Block a user