/** * Copyright (c) 2020 TypeFox GmbH. All rights reserved. * Licensed under the GNU Affero General Public License (AGPL). * See License-AGPL.txt in the project root for license information. */ // @ts-check const path = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { entry: path.resolve(__dirname, 'lib/index.js'), output: { filename: '[name].js', chunkFilename: '[name].js', path: path.resolve(__dirname, 'dist') }, plugins: [new HtmlWebpackPlugin({ meta: { "referrer": "origin" }, favicon: 'public/favicon.ico', base: '_supervisor/frontend/', title: 'Gitpod' })], module: { rules: [ { test: /\.css$/i, use: ['style-loader', 'css-loader'] } ] }, node: { fs: 'empty', child_process: 'empty', net: 'empty', crypto: 'empty', tls: 'empty' }, devtool: 'source-map' };