-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move back from tsup/esbuild to rollup (#3720)
* fix: bring back global rollup config * fix: add rollup build for packages except pm * fix: rollup global build * fix: fix memory leak on build * fix(character-count): revert files * fix: builds run individual per rollup and lerna * chore: remove old rollup * fix(blockquote): correct the main module path * fix(character count): bump version number
- Loading branch information
Showing
159 changed files
with
4,374 additions
and
1,006 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
import sizes from '@atomico/rollup-plugin-sizes' | ||
import babel from '@rollup/plugin-babel' | ||
import commonjs from '@rollup/plugin-commonjs' | ||
import resolve from '@rollup/plugin-node-resolve' | ||
import autoExternal from 'rollup-plugin-auto-external' | ||
import sourcemaps from 'rollup-plugin-sourcemaps' | ||
import typescript from 'rollup-plugin-typescript2' | ||
|
||
import pkg from './package.json' | ||
|
||
export default { | ||
input: 'src/index.ts', | ||
output: [ | ||
{ | ||
name: pkg.name, | ||
file: pkg.umd, | ||
format: 'umd', | ||
sourcemap: true, | ||
}, | ||
{ | ||
name: pkg.name, | ||
file: pkg.main, | ||
format: 'cjs', | ||
sourcemap: true, | ||
exports: 'auto', | ||
}, | ||
{ | ||
name: pkg.name, | ||
file: pkg.module, | ||
format: 'es', | ||
sourcemap: true, | ||
}, | ||
], | ||
plugins: [ | ||
autoExternal({ | ||
packagePath: './package.json', | ||
}), | ||
sourcemaps(), | ||
resolve(), | ||
commonjs(), | ||
babel({ | ||
babelHelpers: 'bundled', | ||
exclude: '../../node_modules/**', | ||
}), | ||
sizes(), | ||
typescript({ | ||
tsconfig: '../../tsconfig.json', | ||
tsconfigOverride: { | ||
compilerOptions: { | ||
declaration: true, | ||
paths: { | ||
'@tiptap/*': ['packages/*/src'], | ||
}, | ||
}, | ||
include: null, | ||
}, | ||
}), | ||
], | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
import sizes from '@atomico/rollup-plugin-sizes' | ||
import babel from '@rollup/plugin-babel' | ||
import commonjs from '@rollup/plugin-commonjs' | ||
import resolve from '@rollup/plugin-node-resolve' | ||
import autoExternal from 'rollup-plugin-auto-external' | ||
import sourcemaps from 'rollup-plugin-sourcemaps' | ||
import typescript from 'rollup-plugin-typescript2' | ||
|
||
import pkg from './package.json' | ||
|
||
export default { | ||
input: 'src/index.ts', | ||
output: [ | ||
{ | ||
name: pkg.name, | ||
file: pkg.umd, | ||
format: 'umd', | ||
sourcemap: true, | ||
}, | ||
{ | ||
name: pkg.name, | ||
file: pkg.main, | ||
format: 'cjs', | ||
sourcemap: true, | ||
exports: 'auto', | ||
}, | ||
{ | ||
name: pkg.name, | ||
file: pkg.module, | ||
format: 'es', | ||
sourcemap: true, | ||
}, | ||
], | ||
plugins: [ | ||
autoExternal({ | ||
packagePath: './package.json', | ||
}), | ||
sourcemaps(), | ||
resolve(), | ||
commonjs(), | ||
babel({ | ||
babelHelpers: 'bundled', | ||
exclude: '../../node_modules/**', | ||
}), | ||
sizes(), | ||
typescript({ | ||
tsconfig: '../../tsconfig.json', | ||
tsconfigOverride: { | ||
compilerOptions: { | ||
declaration: true, | ||
paths: { | ||
'@tiptap/*': ['packages/*/src'], | ||
}, | ||
}, | ||
include: null, | ||
}, | ||
}), | ||
], | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
import sizes from '@atomico/rollup-plugin-sizes' | ||
import babel from '@rollup/plugin-babel' | ||
import commonjs from '@rollup/plugin-commonjs' | ||
import resolve from '@rollup/plugin-node-resolve' | ||
import autoExternal from 'rollup-plugin-auto-external' | ||
import sourcemaps from 'rollup-plugin-sourcemaps' | ||
import typescript from 'rollup-plugin-typescript2' | ||
|
||
import pkg from './package.json' | ||
|
||
export default { | ||
input: 'src/index.ts', | ||
output: [ | ||
{ | ||
name: pkg.name, | ||
file: pkg.umd, | ||
format: 'umd', | ||
sourcemap: true, | ||
}, | ||
{ | ||
name: pkg.name, | ||
file: pkg.main, | ||
format: 'cjs', | ||
sourcemap: true, | ||
exports: 'auto', | ||
}, | ||
{ | ||
name: pkg.name, | ||
file: pkg.module, | ||
format: 'es', | ||
sourcemap: true, | ||
}, | ||
], | ||
plugins: [ | ||
autoExternal({ | ||
packagePath: './package.json', | ||
}), | ||
sourcemaps(), | ||
resolve(), | ||
commonjs(), | ||
babel({ | ||
babelHelpers: 'bundled', | ||
exclude: '../../node_modules/**', | ||
}), | ||
sizes(), | ||
typescript({ | ||
tsconfig: '../../tsconfig.json', | ||
tsconfigOverride: { | ||
compilerOptions: { | ||
declaration: true, | ||
paths: { | ||
'@tiptap/*': ['packages/*/src'], | ||
}, | ||
}, | ||
include: null, | ||
}, | ||
}), | ||
], | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.