Skip to content
Snippets Groups Projects
Select Git revision
  • 112f4d09d02804cd3da58ac8c896d1477d2a0259
  • master default protected
  • feat-create_little_container_for_developer
  • feat/pipeline_publish_extension
  • feat-publish_extension_on_marketplace_with_ci
  • feat-log-in
  • feat-connect_uri_handler_with_chosse_workdir_and_connection
  • feat-choose-mission-workdir
  • 10-en-tant-qu-etudiant-je-souhaite-pouvoir-lancer-une-mission-de-type-vscode-desktop-sur-mon-ide
  • new-building-way-recorder
  • fix-commit-any-challenge-type
  • recorder-push-code
  • theia-extension
  • 0.1.2
  • 0.1.1
  • 0.0.6
  • 1.4
  • 1.3
  • 1.2
  • 1.1
20 results

webpack.config.js

Blame
  • webpack.config.js 379 B
    const path = require('path');
    const TerserPlugin = require("terser-webpack-plugin");
    
    module.exports = {
      entry: {
        main: './recorder/index.js',
        preStop: './recorder/preStop.js',
      },
      target: 'node',
      output: {
        filename: '[name].js',
        path: path.resolve(__dirname, 'dist'),
      },
      optimization: {
        minimize: true,
        minimizer: [new TerserPlugin()],
      },
    };