@rws-framework/client
Version:
This package provides the core client-side framework for Realtime Web Suit (RWS), enabling modular, asynchronous web components, state management, and integration with backend services. It is located in `.dev/client`.
27 lines (25 loc) • 676 B
JavaScript
const _DEFAULT_CONFIG_VARS = {
//Build configs
dev: false,
hot: false,
report: false,
publicDir: './public',
publicIndex: 'index.html',
outputFileName: 'rws.client.js',
outputDir: './build',
tsConfigPath: './tsconfig.json',
//Frontend RWS client configs
backendUrl: null,
wsUrl: null,
partedDirUrlPrefix: '/',
partedPrefix: 'rws',
pubUrlFilePrefix: '/',
//Universal configs
transports: ['websocket'],
parted: false,
devRouteProxy: '/api',
devApiPort: 3002,
plugins: []
}
const _DEFAULT_CONFIG = Object.freeze(_DEFAULT_CONFIG_VARS);
module.exports = {_DEFAULT_CONFIG};