mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-05-19 21:28:37 +01:00
ebebb87497
* guess we'll try again * . * bun up * . * . * seach exclude * another test * testing some changes from JL * . * dev * back to dir * . * . * bun cache * urg * try this * self caches * dependency up * Update ci.yml
30 lines
710 B
TypeScript
30 lines
710 B
TypeScript
import path from 'node:path';
|
|
|
|
import rspack, { type Configuration } from '@rspack/core';
|
|
|
|
import oldConfig, { createStats } from './rspack.config';
|
|
|
|
export const config = {
|
|
...oldConfig,
|
|
devtool: 'cheap-module-source-map',
|
|
devServer: {
|
|
hot: true,
|
|
},
|
|
mode: 'development',
|
|
output: {
|
|
...oldConfig.output,
|
|
path: path.resolve(import.meta.dirname, './public/.tmp'),
|
|
},
|
|
plugins: [
|
|
new rspack.CssExtractRspackPlugin({
|
|
chunkFilename: '[name].bundle.css',
|
|
filename: '[name].bundle.css',
|
|
}),
|
|
new rspack.EnvironmentPlugin({
|
|
NODE_ENV: 'development',
|
|
}),
|
|
new rspack.HotModuleReplacementPlugin(),
|
|
],
|
|
stats: createStats(false),
|
|
} satisfies Configuration;
|