mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 03:08:40 +00:00
build(deps): update dependencies (#2301)
* Bump flow version * Bump jest version * Bump eslint version * Bump rollup version * Bump webpack version * Bump misc dependencies and update lockfile * Update lockfile * Bump commander version * Bump misc dependencies * Bump istanbul version * Bump docusaurus version * Update lockfile * Explicitly declare dependencies * Bump caniuse-lite version * Update lockfile * Bump commander version * Bump webpack and css-loader version * Bump flow version
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import babel from 'rollup-plugin-babel';
|
||||
import alias from 'rollup-plugin-alias';
|
||||
import babel from '@rollup/plugin-babel';
|
||||
import alias from '@rollup/plugin-alias';
|
||||
|
||||
const {targets} = require('./webpack.common');
|
||||
|
||||
@@ -12,9 +12,11 @@ export default targets.map(({name, entry}) => ({
|
||||
format: 'es',
|
||||
},
|
||||
plugins: [
|
||||
babel({runtimeHelpers: true}),
|
||||
babel({babelHelpers: 'runtime'}),
|
||||
alias({
|
||||
katex: '../katex.mjs',
|
||||
entries: [
|
||||
{find: 'katex', replacement: '../katex.mjs'},
|
||||
],
|
||||
}),
|
||||
],
|
||||
external: '../katex.mjs',
|
||||
|
Reference in New Issue
Block a user