mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-07 19:20:26 -08:00
chore: enable ts checker plugin
This commit is contained in:
parent
2f0e892dfb
commit
a2daf608c4
1 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,8 @@ const CircularDependencyPlugin = require('circular-dependency-plugin');
|
|||
const CopyPlugin = require('copy-webpack-plugin');
|
||||
|
||||
exports.main = [
|
||||
// new ForkTsCheckerWebpackPlugin(),
|
||||
// we only need one instance of TsChecker, it will check main and renderer all together
|
||||
new ForkTsCheckerWebpackPlugin(),
|
||||
new CopyPlugin({
|
||||
// to is relative to ./.webpack/main/
|
||||
patterns: [{ from: 'src/services/wiki/wiki-worker.js', to: 'wiki-worker.js' }],
|
||||
|
|
@ -25,7 +26,6 @@ exports.main = [
|
|||
];
|
||||
|
||||
exports.renderer = [
|
||||
// new ForkTsCheckerWebpackPlugin(),
|
||||
new webpack.DefinePlugin({
|
||||
'process.env': '{}',
|
||||
global: {},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue