mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-21 22:07:59 -05:00
Frontent dev env (#247)
* Added frontend development files/environment * More items-categories related removals * Improvements in pages templates (inc. static pages) * Improvements in video player * Added empty home page message + cta * Updates in media, playlist and management pages * Improvements in material icons font loading * Replaced media & playlists links in frontend dev-env * frontend package version update * chnaged frontend dev url port * static files update * Changed default position of theme switcher * enabled frontend docker container
This commit is contained in:
12
frontend/packages/scripts/lib/.webpack/dev-server.config.ts
Executable file
12
frontend/packages/scripts/lib/.webpack/dev-server.config.ts
Executable file
@@ -0,0 +1,12 @@
|
||||
import { Configuration } from 'webpack-dev-server';
|
||||
|
||||
export function configFunc(contentBase: string): Configuration {
|
||||
return {
|
||||
watchOptions: {
|
||||
poll: true,
|
||||
},
|
||||
contentBase: contentBase,
|
||||
compress: true,
|
||||
hot: true,
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user