slate/index.js

19 lines
425 B
JavaScript
Raw Normal View History

require('@babel/register')({
2020-07-08 00:35:38 +03:00
presets: [
[require.resolve('@babel/preset-env')],
[
require.resolve('next/babel'),
{
'preset-env': {},
'transform-runtime': {},
'styled-jsx': {},
'class-properties': {},
},
],
],
plugins: [[require.resolve('@babel/plugin-transform-runtime')]],
2020-07-05 00:24:34 +03:00
ignore: ['node_modules', '.next'],
2020-02-19 09:30:47 +03:00
});
module.exports = require('./server.js');