and I still get the following compilation error - any help would be much appreciated !!
It appears like babel-loader is not transpiling bubble.js using typescript (or es6)
How can I get babel-loader to do the proper transpiling?
Failed to compile.
./node_modules/quill/themes/bubble.js 13:18
Module parse failed: Unexpected token (13:18)
File was processed with these loaders:
* ./node_modules/react-scripts/node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
| }, 'blockquote']];
| class BubbleTooltip extends BaseTooltip {
> static TEMPLATE = ['<span class="ql-tooltip-arrow"></span>', '<div class="ql-tooltip-editor">', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-close"></a>', '</div>'].join('');
| constructor(quill, bounds) {
| super(quill, bounds);
I did a:
and I still get the following compilation error - any help would be much appreciated !!
It appears like babel-loader is not transpiling bubble.js using typescript (or es6) How can I get babel-loader to do the proper transpiling?
package.json:
tsconfig.json: