722c0b978c
Should support markdown, PDF, and anything in the code viewer. Tested that it's working on web and app.
16 lines
450 B
JavaScript
16 lines
450 B
JavaScript
module.exports = api => {
|
|
api.cache(false);
|
|
|
|
return {
|
|
presets: ['@babel/env', '@babel/react', '@babel/flow'],
|
|
plugins: [
|
|
'import-glob',
|
|
'@babel/plugin-transform-runtime',
|
|
['@babel/plugin-proposal-decorators', { decoratorsBeforeExport: true }],
|
|
'@babel/plugin-transform-flow-strip-types',
|
|
'@babel/plugin-proposal-class-properties',
|
|
'react-hot-loader/babel',
|
|
],
|
|
ignore: [/node_modules/],
|
|
};
|
|
};
|