You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			33 lines
		
	
	
		
			656 B
		
	
	
	
		
			JavaScript
		
	
			
		
		
	
	
			33 lines
		
	
	
		
			656 B
		
	
	
	
		
			JavaScript
		
	
// eslint-disable-next-line @typescript-eslint/no-var-requires
 | 
						|
const path = require('path');
 | 
						|
 | 
						|
module.exports = {
 | 
						|
  entry: './ts/webworker/workers/node/util/util.worker.ts',
 | 
						|
  module: {
 | 
						|
    rules: [
 | 
						|
      {
 | 
						|
        test: /\.tsx?$/,
 | 
						|
        use: 'ts-loader',
 | 
						|
        exclude: /node_modules/,
 | 
						|
      },
 | 
						|
    ],
 | 
						|
  },
 | 
						|
  resolve: {
 | 
						|
    extensions: ['.ts', '.js'],
 | 
						|
    fallback: {
 | 
						|
      crypto: false,
 | 
						|
      path: false,
 | 
						|
      fs: false,
 | 
						|
      stream: false,
 | 
						|
    },
 | 
						|
  },
 | 
						|
  output: {
 | 
						|
    filename: 'util.worker.js',
 | 
						|
    path: path.resolve(__dirname, 'ts', 'webworker', 'workers', 'node', 'util'),
 | 
						|
  },
 | 
						|
  target: 'node',
 | 
						|
  optimization: {
 | 
						|
    minimize: true,
 | 
						|
  },
 | 
						|
};
 |