mirror of
https://github.com/github/codeql-action.git
synced 2025-12-25 16:50:21 +08:00
26 lines
422 B
JavaScript
26 lines
422 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
entry: '../src/runner.ts',
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.ts$/,
|
|
use: 'ts-loader',
|
|
exclude: /node_modules/,
|
|
},
|
|
],
|
|
},
|
|
target: 'node',
|
|
resolve: {
|
|
extensions: [ '.ts', '.js' ],
|
|
},
|
|
output: {
|
|
filename: 'codeql-runner.js',
|
|
path: path.resolve(__dirname, 'dist'),
|
|
},
|
|
optimization: {
|
|
minimize: false
|
|
},
|
|
};
|