mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-10-06 22:32:41 +07:00
13 lines
258 B
TypeScript
13 lines
258 B
TypeScript
|
|
import { Configuration } from 'webpack-dev-server';
|
||
|
|
|
||
|
|
export function configFunc(contentBase: string): Configuration {
|
||
|
|
return {
|
||
|
|
watchOptions: {
|
||
|
|
poll: true,
|
||
|
|
},
|
||
|
|
contentBase: contentBase,
|
||
|
|
compress: true,
|
||
|
|
hot: true,
|
||
|
|
};
|
||
|
|
}
|