mirror of
https://github.com/usebruno/bruno.git
synced 2025-01-03 12:39:34 +01:00
33e86a9097
* poc: bruno app rsbuild * fix: updates --------- Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
28 lines
814 B
JavaScript
28 lines
814 B
JavaScript
import { defineConfig } from '@rsbuild/core';
|
|
import { pluginReact } from '@rsbuild/plugin-react';
|
|
import { pluginBabel } from '@rsbuild/plugin-babel';
|
|
import { pluginStyledComponents } from '@rsbuild/plugin-styled-components';
|
|
import { pluginSass } from '@rsbuild/plugin-sass';
|
|
import { pluginNodePolyfill } from '@rsbuild/plugin-node-polyfill'
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
pluginNodePolyfill(),
|
|
pluginReact(),
|
|
pluginStyledComponents(),
|
|
pluginSass(),
|
|
pluginBabel({
|
|
include: /\.(?:js|jsx|tsx)$/,
|
|
babelLoaderOptions(opts) {
|
|
opts.plugins?.unshift('babel-plugin-react-compiler');
|
|
}
|
|
})
|
|
],
|
|
source: {
|
|
tsconfigPath: './jsconfig.json', // Specifies the path to the JavaScript/TypeScript configuration file
|
|
},
|
|
html: {
|
|
title: 'Bruno'
|
|
},
|
|
});
|