feat(main): Add base theme: This is the falcon theme out of the box.

This is falcon v3.1.2
This commit is contained in:
2025-11-18 14:04:01 +01:00
parent 3a7f2db331
commit 6849b8eefd
605 changed files with 49820 additions and 0 deletions

View File

@ -0,0 +1,28 @@
const { configureDevServer } = require('./webpack.parts');
const { HotAcceptPlugin } = require('hot-accept-webpack-plugin');
const webpack = require('webpack');
const { merge } = require("webpack-merge");
const devServerConfig = (serverAddress, publicPath, port, siteURL, entriesArray) => {
return {
devServer: configureDevServer(serverAddress, publicPath, port, siteURL),
plugins: [
new webpack.HotModuleReplacementPlugin(),
new HotAcceptPlugin({
test: [
...entriesArray.map(el => `${el}.js`)
]
})
],
optimization: {
runtimeChunk: 'single',
}
}
}
exports.developmentConfig = ({ port, publicPath, serverAddress, siteURL, entriesArray, devServer }) => merge(
{
devtool: "cheap-source-map",
},
devServer ? devServerConfig(serverAddress, publicPath, port, siteURL, entriesArray) : {},
);