mirror of
https://github.com/wassname/talk.git
synced 2026-07-09 13:26:10 +08:00
Restore docz
This commit is contained in:
@@ -5,7 +5,6 @@ const path = require("path");
|
||||
const fs = require("fs");
|
||||
const TsconfigPathsPlugin = require("tsconfig-paths-webpack-plugin");
|
||||
const extensions = [".ts", ".tsx", ".js"];
|
||||
const paths = require("./config/paths");
|
||||
|
||||
export default {
|
||||
title: "Talk 5.0",
|
||||
@@ -33,14 +32,19 @@ export default {
|
||||
loader: require.resolve("postcss-loader"),
|
||||
options: {
|
||||
config: {
|
||||
path: paths.appPostCssConfig,
|
||||
// TODO: There is some weird issue with including paths.ts here
|
||||
path: "./src/core/build/postcss.config",
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
});
|
||||
config.resolve.plugins = [
|
||||
new TsconfigPathsPlugin({ extensions, configFile: paths.appTsconfig }),
|
||||
new TsconfigPathsPlugin({
|
||||
extensions,
|
||||
// TODO: There is some weird issue with including paths.ts here
|
||||
configFile: "./src/core/client/tsconfig.json",
|
||||
}),
|
||||
];
|
||||
// fs.writeFileSync(path.resolve(__dirname, "tmp"), stringify(config, null, 2));
|
||||
return config;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
require("ts-node/register");
|
||||
|
||||
const kebabCase = require("lodash/kebabCase");
|
||||
const mapKeys = require("lodash/mapKeys");
|
||||
const mapValues = require("lodash/mapValues");
|
||||
|
||||
Reference in New Issue
Block a user