使用新的webcad api进行建模

This commit is contained in:
xief
2022-02-16 13:48:57 +08:00
parent e712b7b4e2
commit 623fa9ac9a
11 changed files with 5288 additions and 146 deletions

View File

@@ -1,6 +1,4 @@
import * as HardSourceWebpackPlugin from 'hard-source-webpack-plugin';
import * as webpack from 'webpack';
import ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
const TS_LOADER = [
{ loader: 'cache-loader', options: { cacheDirectory: "node_modules/.cache_loader" } },
@@ -33,8 +31,6 @@ const config: webpack.Configuration = {
},
plugins: [
new HardSourceWebpackPlugin(),
new ForkTsCheckerWebpackPlugin({ checkSyntacticErrors: true }),
]
}

View File

@@ -1,7 +1,7 @@
import path from 'path';
import * as webpack from 'webpack';
import * as merge from 'webpack-merge';
import merge from 'webpack-merge';
import common from './webpack.common';
import * as path from 'path';
const config: webpack.Configuration = merge(
common,

View File

@@ -1,7 +1,7 @@
import * as webpack from 'webpack';
import * as merge from 'webpack-merge';
import merge from 'webpack-merge';
import common from './webpack.common';
import * as HtmlWebPackPlugin from "html-webpack-plugin";
import HtmlWebPackPlugin from "html-webpack-plugin";
const config: webpack.Configuration = merge(
common,