refactor: initial transform to ts

This commit is contained in:
tiddlygit-test 2020-12-19 22:33:59 +08:00
parent c43ecdc2c7
commit e2ee9cba6e
192 changed files with 12431 additions and 90774 deletions

17
webpack.main.config.js Normal file
View file

@ -0,0 +1,17 @@
const { webpackAlias } = require('./webpack.alias');
module.exports = {
/**
* This is the main entry point for your application, it's the first file
* that runs in the main process.
*/
entry: './src/services/electron.ts',
// Put your normal webpack config below here
module: {
rules: require('./webpack.rules'),
},
resolve: {
alias: webpackAlias,
extensions: ['.js', '.ts', '.jsx', '.tsx', '.json'],
},
};