mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
19 lines
402 B
JavaScript
19 lines
402 B
JavaScript
/**
|
|
* @type {import('@babel/core').TransformOptions}
|
|
*/
|
|
module.exports = {
|
|
parserOpts: { strictMode: true },
|
|
sourceMaps: 'inline',
|
|
presets: [
|
|
[
|
|
'@babel/preset-env',
|
|
{
|
|
targets: { node: 'current' },
|
|
modules: 'commonjs',
|
|
},
|
|
],
|
|
'@babel/preset-typescript',
|
|
],
|
|
plugins: ['babel-plugin-transform-typescript-metadata', ['@babel/plugin-proposal-decorators', { legacy: true }]],
|
|
};
|