mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
refactor(ckeditor): remove unnecessary build step
This commit is contained in:
parent
2aa14b53e7
commit
e067e79505
@ -44,22 +44,4 @@ function dist( path ) {
|
||||
declarations: true,
|
||||
translations: '**/*.po'
|
||||
} );
|
||||
|
||||
/**
|
||||
* Step 2
|
||||
*/
|
||||
console.log( chalk.cyan( '2/2: Generating browser build...' ) );
|
||||
|
||||
await build( {
|
||||
output: dist( 'browser/index.js' ),
|
||||
tsconfig,
|
||||
sourceMap: true,
|
||||
minify: true,
|
||||
browser: true,
|
||||
name: 'CKAdmonition',
|
||||
external: [
|
||||
'ckeditor5',
|
||||
'ckeditor5-premium-features'
|
||||
]
|
||||
} );
|
||||
} )();
|
||||
|
@ -44,22 +44,4 @@ function dist( path ) {
|
||||
declarations: true,
|
||||
translations: '**/*.po'
|
||||
} );
|
||||
|
||||
/**
|
||||
* Step 2
|
||||
*/
|
||||
console.log( chalk.cyan( '2/2: Generating browser build...' ) );
|
||||
|
||||
await build( {
|
||||
output: dist( 'browser/index.js' ),
|
||||
tsconfig,
|
||||
sourceMap: true,
|
||||
minify: true,
|
||||
browser: true,
|
||||
name: 'CKFootnotes',
|
||||
external: [
|
||||
'ckeditor5',
|
||||
'ckeditor5-premium-features'
|
||||
]
|
||||
} );
|
||||
} )();
|
||||
|
@ -44,22 +44,4 @@ function dist( path ) {
|
||||
declarations: true,
|
||||
translations: '**/*.po'
|
||||
} );
|
||||
|
||||
/**
|
||||
* Step 2
|
||||
*/
|
||||
console.log( chalk.cyan( '2/2: Generating browser build...' ) );
|
||||
|
||||
await build( {
|
||||
output: dist( 'browser/index.js' ),
|
||||
tsconfig,
|
||||
sourceMap: true,
|
||||
minify: true,
|
||||
browser: true,
|
||||
name: 'CKKeyboardMarker',
|
||||
external: [
|
||||
'ckeditor5',
|
||||
'ckeditor5-premium-features'
|
||||
]
|
||||
} );
|
||||
} )();
|
||||
|
@ -44,22 +44,4 @@ function dist( path ) {
|
||||
declarations: true,
|
||||
translations: '**/*.po'
|
||||
} );
|
||||
|
||||
/**
|
||||
* Step 2
|
||||
*/
|
||||
console.log( chalk.cyan( '2/2: Generating browser build...' ) );
|
||||
|
||||
await build( {
|
||||
output: dist( 'browser/index.js' ),
|
||||
tsconfig,
|
||||
sourceMap: true,
|
||||
minify: true,
|
||||
browser: true,
|
||||
name: 'CKMath',
|
||||
external: [
|
||||
'ckeditor5',
|
||||
'ckeditor5-premium-features'
|
||||
]
|
||||
} );
|
||||
} )();
|
||||
|
@ -44,22 +44,4 @@ function dist( path ) {
|
||||
declarations: true,
|
||||
translations: '**/*.po'
|
||||
} );
|
||||
|
||||
/**
|
||||
* Step 2
|
||||
*/
|
||||
console.log( chalk.cyan( '2/2: Generating browser build...' ) );
|
||||
|
||||
await build( {
|
||||
output: dist( 'browser/index.js' ),
|
||||
tsconfig,
|
||||
sourceMap: true,
|
||||
minify: true,
|
||||
browser: true,
|
||||
name: 'CKMermaid',
|
||||
external: [
|
||||
'ckeditor5',
|
||||
'ckeditor5-premium-features'
|
||||
]
|
||||
} );
|
||||
} )();
|
||||
|
Loading…
x
Reference in New Issue
Block a user