Skip to content
Snippets Groups Projects
Commit 8c41a4d1 authored by chris's avatar chris
Browse files

fix build script

parent ee6a3abc
No related branches found
No related tags found
1 merge request!429Move components
...@@ -21,6 +21,12 @@ export default { ...@@ -21,6 +21,12 @@ export default {
babel({ babel({
presets: ['react-app'], presets: ['react-app'],
plugins: [ plugins: [
[
'@babel/plugin-transform-runtime',
{
regenerator: true,
},
],
['@babel/plugin-proposal-decorators', { legacy: true }], ['@babel/plugin-proposal-decorators', { legacy: true }],
'babel-plugin-parameter-decorator', 'babel-plugin-parameter-decorator',
], ],
...@@ -40,5 +46,6 @@ export default { ...@@ -40,5 +46,6 @@ export default {
'prosemirror-schema-list', 'prosemirror-schema-list',
'prosemirror-model', 'prosemirror-model',
'prosemirror-inputrules', 'prosemirror-inputrules',
'@babel/runtime/regenerator',
], ],
}; };
...@@ -15,12 +15,11 @@ import { mathjax } from 'mathjax-full/js/mathjax'; ...@@ -15,12 +15,11 @@ import { mathjax } from 'mathjax-full/js/mathjax';
import { TeX } from 'mathjax-full/js/input/tex.js'; import { TeX } from 'mathjax-full/js/input/tex.js';
import { SVG } from 'mathjax-full/js/output/svg'; import { SVG } from 'mathjax-full/js/output/svg';
import { liteAdaptor } from 'mathjax-full/js/adaptors/liteAdaptor.js'; import { liteAdaptor } from 'mathjax-full/js/adaptors/liteAdaptor.js';
import { browserAdaptor } from 'mathjax-full/js/adaptors/browserAdaptor';
import { RegisterHTMLHandler } from 'mathjax-full/js/handlers/html'; import { RegisterHTMLHandler } from 'mathjax-full/js/handlers/html';
import { AssistiveMmlHandler } from 'mathjax-full/js/a11y/assistive-mml.js';
import { AllPackages } from 'mathjax-full/js/input/tex/AllPackages.js'; import { AllPackages } from 'mathjax-full/js/input/tex/AllPackages.js';
import { STATE } from 'mathjax-full/js/core/MathItem'; // import { browserAdaptor } from 'mathjax-full/js/adaptors/browserAdaptor';
// import { AssistiveMmlHandler } from 'mathjax-full/js/a11y/assistive-mml.js';
// import { STATE } from 'mathjax-full/js/core/MathItem';
// //
// Minimal CSS needed for stand-alone image // Minimal CSS needed for stand-alone image
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment