export default function () {
    return {
        plugins: [
            require.resolve('./plugins/registerBuilder'),

            // register methods
            require.resolve('./plugins/registerMethods'),
            require.resolve('./plugins/registerType'),

            // bundle configs
            require.resolve('./plugins/features/analyze'),
            require.resolve('./plugins/features/chainWebpack'),
            require.resolve('./plugins/features/cssLoader'),
            require.resolve('./plugins/features/copy'),
            require.resolve('./plugins/features/devServer'),
            require.resolve('./plugins/features/devtool'),
            require.resolve('./plugins/features/externals'),
            require.resolve('./plugins/features/exportStatic'),
            require.resolve('./plugins/features/extraBabelPlugins'),
            require.resolve('./plugins/features/extraBabelPresets'),
            require.resolve('./plugins/features/extraPostCSSPlugins'),
            require.resolve('./plugins/features/html'),
            require.resolve('./plugins/features/lessLoader'),
            require.resolve('./plugins/features/postcssLoader'),
            require.resolve('./plugins/features/nodeModulesTransform'),
            require.resolve('./plugins/features/vueLoader'),
            require.resolve('./plugins/features/extraCSS'),

            // commands
            require.resolve('./plugins/commands/build'),
            require.resolve('./plugins/commands/dev'),
            require.resolve('./plugins/commands/webpack'),
        ],
    };
}
