mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
fixes to build
This commit is contained in:
parent
020a8766c8
commit
30e84321f9
@ -32,8 +32,9 @@ cp webpack-* $DIR/
|
|||||||
# cleanup of useless files in dependencies
|
# cleanup of useless files in dependencies
|
||||||
rm -r $DIR/node_modules/image-q/demo
|
rm -r $DIR/node_modules/image-q/demo
|
||||||
rm -r $DIR/node_modules/better-sqlite3/deps/sqlite3.tar.gz
|
rm -r $DIR/node_modules/better-sqlite3/deps/sqlite3.tar.gz
|
||||||
rm -r $DIR/node_modules/@jimp/plugin*
|
rm -r $DIR/node_modules/@jimp/plugin-print/fonts
|
||||||
rm -r $DIR/node_modules/jimp/browser
|
rm -r $DIR/node_modules/jimp/browser
|
||||||
|
rm -r $DIR/node_modules/jimp/fonts
|
||||||
|
|
||||||
# delete all tests (there are often large images as test file for jimp etc.)
|
# delete all tests (there are often large images as test file for jimp etc.)
|
||||||
find $DIR/node_modules -name test -exec rm -rf {} \;
|
find $DIR/node_modules -name test -exec rm -rf {} \;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
import Note from './note.js';
|
const Note = require('./note.js');
|
||||||
|
|
||||||
class Attribute {
|
class Attribute {
|
||||||
constructor(noteCache, row) {
|
constructor(noteCache, row) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
import Note from "./note.js";
|
const Note = require('./note.js');
|
||||||
|
|
||||||
class Branch {
|
class Branch {
|
||||||
constructor(noteCache, row) {
|
constructor(noteCache, row) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user