%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/ugotscom/bos_naturals/node_modules/laravel-echo/
Upload File :
Create Path :
Current File : /home/ugotscom/bos_naturals/node_modules/laravel-echo/rollup.config.js

import babel from '@rollup/plugin-babel';
import typescript from 'rollup-plugin-typescript2';

export default {
    input: './src/echo.ts',
    output: [
        { file: './dist/echo.js', format: 'esm' },
        { file: './dist/echo.common.js', format: 'cjs' },
        { file: './dist/echo.iife.js', format: 'iife', name: 'Echo' },
    ],
    plugins: [
        typescript(),
        babel({
            babelHelpers: 'bundled',
            exclude: 'node_modules/**',
            extensions: ['.ts'],
            presets: ['@babel/preset-env'],
            plugins: [
                ['@babel/plugin-proposal-decorators', { legacy: true }],
                '@babel/plugin-proposal-function-sent',
                '@babel/plugin-proposal-export-namespace-from',
                '@babel/plugin-proposal-numeric-separator',
                '@babel/plugin-proposal-throw-expressions',
                '@babel/plugin-transform-object-assign',
            ],
        }),
    ],
};

Zerion Mini Shell 1.0