mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-26 02:24:44 +03:00
19 lines
425 B
JavaScript
19 lines
425 B
JavaScript
require('@babel/register')({
|
|
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')]],
|
|
ignore: ['node_modules', '.next'],
|
|
});
|
|
|
|
module.exports = require('./server.js');
|