cursor/webpack.main.config.js

21 lines
559 B
JavaScript

// const path = require('path');
module.exports = {
/**
* This is the main entry point for your application, it's the first file
* that runs in the main process.
*/
entry: './src/main/main.ts',
// Put your normal webpack config below here
module: {
rules: require('./webpack.rules'),
},
externals: 'node-pty',
cache: {
type: 'filesystem',
},
resolve: {
// modules: [path.resolve(__dirname, 'src', 'main'), 'node_modules'],
extensions: ['.js', '.ts', '.jsx', '.tsx'],
},
}