Add support for dynamic themes

This commit is contained in:
Art Lowel
2021-02-25 15:04:32 +01:00
parent 70dac6bc8f
commit 5a6e4b1278
224 changed files with 3429 additions and 1017 deletions

View File

@@ -1,5 +1,5 @@
import { commonExports } from './webpack.common';
import { buildRoot, projectRoot } from './helpers';
import { projectRoot } from './helpers';
const webpack = require('webpack');
const nodeExternals = require('webpack-node-externals');
@@ -16,7 +16,7 @@ module.exports = Object.assign({}, commonExports, {
],
mode: 'production',
recordsOutputPath: projectRoot('webpack.records.json'),
entry: buildRoot('./main.server.ts'),
entry: projectRoot('./src/main.server.ts'),
target: 'node',
externals: [nodeExternals({
whitelist: [